[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.MoveTo

Class MoveTo

Namespace
GrapeCity.Documents.Pdf.Operators
Assembly
GcDocs.Pdf.dll

PDF "m" operator. Begin a new subpath by moving the current point to coordinates (x, y), omitting any connecting line segment. If the previous path construction operator in the current path was also m, the new m overrides it; no vestige of the previous m operation remains in the path.

public class MoveTo : OperatorBase
Inheritance
object
MoveTo
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

MoveTo(float, float)

Initializes a new instance of the MoveTo class.

public MoveTo(float x, float y)

Parameters

x float

The value of X.

y float

The value of Y.

Fields

X

The X coordinate of point.

public readonly float X

Field Value

float

Y

The Y coordinate of point.

public readonly float Y

Field Value

float

Properties

Desc

Gets the operator's description.

public override string Desc { get; }

Property Value

string

Name

Gets the operator's PDF name.

public override string Name { get; }

Property Value

string

Methods

IsSame(OperatorBase)

Determines whether the provided operator is the same as the current operator.

public override bool IsSame(OperatorBase other)

Parameters

other OperatorBase

A OperatorBase object.

Returns

bool

true if the provided operator is the same as the current operator; otherwise, false.