Class RectangleDouble
Represents a rectangle with double precision coordinates.
Inherited Members
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RectangleDouble
Constructors
RectangleDouble(double, double, double, double)
Initializes a new instance of the RectangleDouble class.
Declaration
public RectangleDouble(double x, double y, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | The x-coordinate of the rectangle. |
| double | y | The y-coordinate of the rectangle. |
| double | width | The width of the rectangle. |
| double | height | The height of the rectangle. |
Properties
Bottom
Gets the bottom edge of the rectangle.
Declaration
public double Bottom { get; }
Property Value
| Type | Description |
|---|---|
| double |
Height
Specifies the height of the rectangle.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Left
Gets the left edge of the rectangle.
Declaration
public double Left { get; }
Property Value
| Type | Description |
|---|---|
| double |
Right
Gets the right edge of the rectangle.
Declaration
public double Right { get; }
Property Value
| Type | Description |
|---|---|
| double |
Top
Gets the top edge of the rectangle.
Declaration
public double Top { get; }
Property Value
| Type | Description |
|---|---|
| double |
Width
Specifies the width of the rectangle.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
X
Specifies the x-coordinate of the rectangle.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Specifies the y-coordinate of the rectangle.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double |