Struct MoveTo
A "move to" drawing command: lifts the pen and sets the current point to (X, Y) without drawing anything. Coordinates are in font design units.
Inherited Members
Namespace: DRIT.Drawing.Font.Rendering
Assembly: DRIT.Drawing.dll
Syntax
public readonly struct MoveTo
Constructors
MoveTo(double, double)
Initializes a new MoveTo with the specified coordinates.
Declaration
public MoveTo(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | The X coordinate. |
| double | y | The Y coordinate. |
Properties
X
Gets the X coordinate of the move-to point.
Declaration
public double X { get; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Gets the Y coordinate of the move-to point.
Declaration
public double Y { get; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
ToString()
Returns a string representation of this MoveTo.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string in the format "MoveTo(x, y)". |