class anychart.graphics.math.Rect Improve this Doc
Rectangle class.
Methods Overview
Miscellaneous | |
getBottom() | Getter for the bottom of a rectangle. |
getHeight() | Getter for the height of a rectangle. |
getLeft() | Getter for the X-coordinate of the left side of a rectangle. |
getRight() | Getter for the X-coordinate of the right side of a rectangle. |
getTop() | Getter for the top of a rectangle. |
getWidth() | Getter for the width of a rectangle. |
Methods Description
getBottom
Getter for the bottom of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The Y-coordinate of the bottom of a rectangle.Try it:
getHeight
Getter for the height of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The height of a rectangle.Try it:
getLeft
Getter for the X-coordinate of the left side of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The X-coordinate of the left side of a rectangle.Try it:
getRight
Getter for the X-coordinate of the right side of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The X-coordinate of the right side of a rectangle.Try it:
getTop
Getter for the top of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The Y-coordinate of the top of a rectangle.Try it:
getWidth
Getter for the width of a rectangle.
Params:
Name | Type | Description |
---|---|---|
this | {anychart.graphics.math.Rect} | This param |
Returns:
number - The width of a rectangle.Try it: