Constructor MetafilePathCommand
MetafilePathCommand(IReadOnlyList<MetafilePathSegment>, ColorRgb?, ColorRgb?, int, MetafileFillRule)
Initializes a path command.
public MetafilePathCommand(IReadOnlyList<MetafilePathSegment> segments, ColorRgb? fillColor, ColorRgb? strokeColor, int strokeWidth, MetafileFillRule fillRule)
Parameters
segmentsIReadOnlyList<MetafilePathSegment>The path segments in order.
fillColorColorRgb?The interior colour, or null when unfilled.
strokeColorColorRgb?The outline colour, or null when unstroked.
strokeWidthintThe outline width in device units; 0 means a hairline.
fillRuleMetafileFillRuleHow the interior is determined.
Exceptions
- ArgumentNullException
segmentsis null.