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
XdoubleThe horizontal coordinate, in the surface's scale.
YdoubleThe vertical coordinate, in the surface's scale.
IsRelativeboolWhether 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
X
The horizontal coordinate, in the surface's scale.
public double X { get; init; }
Property Value
Y
The vertical coordinate, in the surface's scale.
public double Y { get; init; }