Table of Contents

Struct MetafilePathSegment

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

One segment of a metafile path, in device units.

public readonly struct MetafilePathSegment : IEquatable<MetafilePathSegment>
Implements
Inherited Members

Properties

Control1

Gets the first Bézier control point.

Control2

Gets the second Bézier control point.

EndPoint

Gets the end point, unused for Close.

Verb

Gets the drawing verb.

Methods

Close()

Creates a subpath close.

CurveTo(MetafilePoint, MetafilePoint, MetafilePoint)

Creates a cubic Bézier.

Equals(MetafilePathSegment)
Equals(object?)
GetHashCode()
LineTo(MetafilePoint)

Creates a line.

MoveTo(MetafilePoint)

Creates a move.

Operators

operator ==(MetafilePathSegment, MetafilePathSegment)

Compares two segments for equality.

operator !=(MetafilePathSegment, MetafilePathSegment)

Compares two segments for inequality.