strokeCap property

StrokeCap strokeCap

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)];
}
void strokeCap=(StrokeCap value)

Implementation

set strokeCap(StrokeCap value) {
  final int encoded = value.index;
  _data.setInt32(_kStrokeCapOffset, encoded, _kFakeHostEndian);
}