strokeCap property Null safety
The kind of finish to place on the end of lines drawn when style is set to PaintingStyle.stroke.
Defaults to StrokeCap.butt, i.e. no caps.
Implementation
StrokeCap get strokeCap {
return StrokeCap.values[_data.getInt32(_kStrokeCapOffset, _kFakeHostEndian)];
}
Implementation
set strokeCap(StrokeCap value) {
assert(value != null);
final int encoded = value.index;
_data.setInt32(_kStrokeCapOffset, encoded, _kFakeHostEndian);
}