Table of Contents

Constructor MetafilePathCommand

Namespace
DocWright.Core.Metafiles
Assembly
DocWright.Core.dll

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

segments IReadOnlyList<MetafilePathSegment>

The path segments in order.

fillColor ColorRgb?

The interior colour, or null when unfilled.

strokeColor ColorRgb?

The outline colour, or null when unstroked.

strokeWidth int

The outline width in device units; 0 means a hairline.

fillRule MetafileFillRule

How the interior is determined.

Exceptions

ArgumentNullException

segments is null.