• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
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)".

Overrides
ValueType.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX