Class RectangleDouble
Represents the rectangle double used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class RectangleDouble
Constructors
RectangleDouble(double, double, double, double)
Initializes a new instance of the rectangle double class.
Declaration
public RectangleDouble(double x, double y, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | The horizontal coordinate, in document units. |
| double | y | The vertical coordinate, in document units. |
| double | width | The width of the object, in document units. |
| double | height | The height of the object, in document units. |
Properties
Bottom
Gets or sets the bottom associated with this object.
Declaration
public double Bottom { get; }
Property Value
| Type | Description |
|---|---|
| double |
Height
Gets or sets the height associated with this object.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Left
Gets or sets the left associated with this object.
Declaration
public double Left { get; }
Property Value
| Type | Description |
|---|---|
| double |
Right
Gets or sets the right associated with this object.
Declaration
public double Right { get; }
Property Value
| Type | Description |
|---|---|
| double |
Top
Gets or sets the top associated with this object.
Declaration
public double Top { get; }
Property Value
| Type | Description |
|---|---|
| double |
Width
Gets or sets the width associated with this object.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
X
Gets or sets the x associated with this object.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Gets or sets the y associated with this object.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double |