Class Tee.Rectangle
Represents a rectangle with origin xy position, width and height
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Rectangle(x, y, width, height)
|
Field Attributes | Field Name and Description |
---|---|
Amount of rectangle height.
|
|
Amount of rectangle width.
|
|
The position of left side of rectangle.
|
|
The position of top side of rectangle.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
Tee.Rectangle.Rectangle#set(x, y, width, height)
Sets Rectangle properties.
|
<static> |
Tee.Rectangle.Rectangle#setFrom(r)
Sets Rectangle properties from rectangle r parameter.
|
Class Detail
Tee.Rectangle(x, y, width, height)
- Parameters:
- {Number} x
- The position of left side of rectangle.
- {Number} y
- The position of top side of rectangle.
- {Number} width
- Amount of rectangle width.
- {Number} height
- Amount of rectangle height.
Field Detail
{Number}
height
Amount of rectangle height.
{Number}
width
Amount of rectangle width.
{Number}
x
The position of left side of rectangle.
{Number}
y
The position of top side of rectangle.
Method Detail
<static>
Tee.Rectangle.Rectangle#set(x, y, width, height)
Sets Rectangle properties.
- Parameters:
- {Number} x
- The position of left side of rectangle.
- {Number} y
- The position of top side of rectangle.
- {Number} width
- Amount of rectangle width.
- {Number} height
- Amount of rectangle height.
<static>
Tee.Rectangle.Rectangle#setFrom(r)
Sets Rectangle properties from rectangle r parameter.
- Parameters:
- {Tee.Rectangle} r
- The Rectangle instance to copy values from.