DomRect Class
https://drafts.fxtf.org/geometry/#domrect
public class DomRect : DomRectReadOnly- Inheritance
DomRectReadOnlyDomRect
Constructors
| Name | Description |
|---|---|
| DomRect(double, double, double, double) | Creates a mutable rectangle with the given origin and size. |
DomRect(double, double, double, double)
DomPoint.csProperties
| Name | Description |
|---|---|
| Height | Gets or sets the height of the rectangle. |
| Width | Gets or sets the width of the rectangle. |
| X | Gets or sets the X coordinate of the origin of the rectangle. |
| Y | Gets or sets the Y coordinate of the origin of the rectangle. |
Height
DomPoint.csGets or sets the height of the rectangle.
public new virtual double Height { get; set; }Width
DomPoint.csGets or sets the width of the rectangle.
public new virtual double Width { get; set; }Gets or sets the X coordinate of the origin of the rectangle.
public new virtual double X { get; set; }Gets or sets the Y coordinate of the origin of the rectangle.
public new virtual double Y { get; set; }Methods
| Name | Description |
|---|---|
| FromRect(DomRectInit?) | Creates a mutable rectangle from the origin and size of the given dictionary. |
FromRect(DomRectInit?)
DomPoint.csCreates a mutable rectangle from the origin and size of the given dictionary.
public new static DomRect FromRect(DomRectInit? other = null)