Table of Contents

Struct GraphicsPoint

Namespace
RDCore.Forms.Drawing
Assembly
RDCore.Forms.dll

A point of a drawing statement: (x, y), or Step (x, y), relative to where the drawing starts from.

public readonly record struct GraphicsPoint : IEquatable<GraphicsPoint>
Implements
Inherited Members

Constructors

GraphicsPoint(double, double, bool)

A point of a drawing statement: (x, y), or Step (x, y), relative to where the drawing starts from.

public GraphicsPoint(double X, double Y, bool IsRelative = false)

Parameters

X double

The horizontal coordinate, in the surface's scale.

Y double

The vertical coordinate, in the surface's scale.

IsRelative bool

Whether the point is written with Step, and so is an offset.

Properties

IsRelative

Whether the point is written with Step, and so is an offset.

public bool IsRelative { get; init; }

Property Value

bool

X

The horizontal coordinate, in the surface's scale.

public double X { get; init; }

Property Value

double

Y

The vertical coordinate, in the surface's scale.

public double Y { get; init; }

Property Value

double