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

Struct LineTo

A "line to" drawing command: draws a straight line from the current point to (X, Y). 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 LineTo

Constructors

LineTo(double, double)

Initializes a new LineTo with the specified coordinates.

Declaration
public LineTo(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 line-to point.

Declaration
public double X { get; }
Property Value
Type Description
double

Y

Gets the Y coordinate of the line-to point.

Declaration
public double Y { get; }
Property Value
Type Description
double

Methods

ToString()

Returns a string representation of this LineTo.

Declaration
public override string ToString()
Returns
Type Description
string

A string in the format "LineTo(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