OptionalbrushThe optional bounds for the fill brush.
OptionalbrushThe transformation applied to the brush.
OptionalfillA reference to the brush to fill the interior of the polygon. This property has a priority over the DrawPolygonOptions.fillColor.
OptionalfillThe color to fill the interior of the polygon. This property is ignored if the DrawPolygonOptions.fillBrush is assigned.
OptionalfillThe fill mode ("Alternate" by default).
OptionallineThe line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. Overrides the existing value if DrawPolygonOptions.strokePen is specified.
OptionallineThe color of the polygon outline. Overrides the existing value if DrawPolygonOptions.strokePen is specified.
OptionallineThe line join style specifies the shape to be used at the corners of line segments. Overrides the existing value if DrawPolygonOptions.strokePen is specified.
OptionallineThe style of dashed pen to draw the polygon outline. Overrides the existing value if DrawPolygonOptions.strokePen is specified.
OptionallineThe width of the line pen to draw the polygon outline, in units used for drawing. Overrides the existing value if DrawPolygonOptions.strokePen is specified.
OptionalstrokeA reference to the pen to draw the polygon outline.
Provides options for drawing and filling a polygon.