DomPoint Class

https://drafts.fxtf.org/geometry/#dompoint

public class DomPoint : DomPointReadOnly
Inheritance
DomPointReadOnly DomPoint

Constructors

NameDescription
DomPoint(double, double, double, double)Creates a mutable point with the given coordinates.

DomPoint(double, double, double, double)

DomPoint.cs

Creates a mutable point with the given coordinates.

public DomPoint(double x = 0d, double y = 0d, double z = 0d, double w = 1d)

Properties

NameDescription
WGets or sets the W coordinate of the point.
XGets or sets the X coordinate of the point.
YGets or sets the Y coordinate of the point.
ZGets or sets the Z coordinate of the point.

Gets or sets the W coordinate of the point.

public new double W { get; set; }

Gets or sets the X coordinate of the point.

public new virtual double X { get; set; }

Gets or sets the Y coordinate of the point.

public new virtual double Y { get; set; }

Gets or sets the Z coordinate of the point.

public new double Z { get; set; }

Methods

NameDescription
FromPoint(DomPointInit?)Creates a mutable point from the coordinates of the given dictionary.

FromPoint(DomPointInit?)

DomPoint.cs

Creates a mutable point from the coordinates of the given dictionary.

public new static DomPoint FromPoint(DomPointInit? other = null)