style property

PaintingStyle get style

Whether to paint inside shapes, the edges of shapes, or both.

Defaults to PaintingStyle.fill.

Implementation

PaintingStyle get style {
  return PaintingStyle.values[_data.getInt32(_kStyleOffset, _kFakeHostEndian)];
}
set style (PaintingStyle value)

Implementation

set style(PaintingStyle value) {
  final int encoded = value.index;
  _data.setInt32(_kStyleOffset, encoded, _kFakeHostEndian);
}