type property

EnumValue get type

Gets or sets the type of brush. The default value is Brush.Solid. The value must be one of: Brush.Solid, Brush.Linear, Brush.Radial, Brush.Pattern. If the new value is a linear or radial brush type, and if the #start or #end spots are not specific spots, they are changed to be specific spots, depending on the type of brush.

Implementation

_i3.EnumValue get type => _i4.getProperty(
      this,
      'type',
    );
set type (EnumValue value)

Implementation

set type(_i3.EnumValue value) {
  _i4.setProperty(
    this,
    'type',
    value,
  );
}