DomPointReadOnly Class
https://drafts.fxtf.org/geometry/#dompointreadonly
public class DomPointReadOnlyConstructors
| Name | Description |
|---|---|
| DomPointReadOnly(double, double, double, double) | Creates a point with the given coordinates. |
DomPointReadOnly(double, double, double, double)
DomPoint.csProperties
| Name | Description |
|---|---|
| W | Gets the W coordinate of the point. |
| X | Gets the X coordinate of the point. |
| Y | Gets the Y coordinate of the point. |
| Z | Gets the Z coordinate of the point. |
Gets the W coordinate of the point.
public double W { get; }Gets the X coordinate of the point.
public double X { get; }Gets the Y coordinate of the point.
public double Y { get; }Gets the Z coordinate of the point.
public double Z { get; }Methods
| Name | Description |
|---|---|
| FromPoint(DomPointInit?) | Creates a read-only point from the coordinates of the given dictionary. |
| MatrixTransform(DomMatrixInit?) | https://drafts.fxtf.org/geometry/#dom-dompointreadonly-matrixtransform |
| ToJson() | Returns a dictionary representation of the point, as used by JSON.stringify(). |
FromPoint(DomPointInit?)
DomPoint.csCreates a read-only point from the coordinates of the given dictionary.
public static DomPointReadOnly FromPoint(DomPointInit? other = null)MatrixTransform(DomMatrixInit?)
DomPoint.cshttps://drafts.fxtf.org/geometry/#dom-dompointreadonly-matrixtransform
public DomPoint MatrixTransform(DomMatrixInit? matrix = null)ToJson()
DomPoint.csReturns a dictionary representation of the point, as used by JSON.stringify().
public DomPointInit ToJson()