PeachDrawing.Core
PeachDrawing.Core
EllipticalArcCenter Struct
The center parameterization of an AddArc(double, double, double, double, double, bool, bool)-style endpoint-parameterized
elliptical arc - StartAngle/EndAngle are in the ellipse’s own (rotated)
local parameter space, so a caller samples a point at angle t as
(CenterX + RadiusX*cos(t)*cos(RotationRadians) - RadiusY*sin(t)*sin(RotationRadians), CenterY + RadiusX*cos(t)*sin(RotationRadians) + RadiusY*sin(t)*cos(RotationRadians)).
public readonly record struct EllipticalArcCenter : System.IEquatable<PeachDrawing.Core.EllipticalArcCenter>
Implements System.IEquatable<EllipticalArcCenter>
| Constructors | |
|---|---|
| EllipticalArcCenter(double, double, double, double, double, double, double) | The center parameterization of an AddArc(double, double, double, double, double, bool, bool)-style endpoint-parameterized elliptical arc - StartAngle/EndAngle are in the ellipse’s own (rotated) local parameter space, so a caller samples a point at angle t as (CenterX + RadiusX*cos(t)*cos(RotationRadians) - RadiusY*sin(t)*sin(RotationRadians), CenterY + RadiusX*cos(t)*sin(RotationRadians) + RadiusY*sin(t)*cos(RotationRadians)). |