[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.LineTo

Class LineTo

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

PDF "l" operator. Append a straight line segment from the current point to the point (x, y).

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

Constructors

LineTo(float, float)

Initializes a new instance of the LineTo class.

public LineTo(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.