Method | Description | |
---|---|---|
CenterOnRectangle ( |
The center on rectangle.
|
|
CenterOnRectangle ( Rectangle rectangle ) : void |
The center on rectangle.
|
|
CenterOnRectangle ( Vector2 rectanglePosition, Vector2 rectangleSize ) : void |
The center on rectangle.
|
|
CenterOnRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight ) : void |
The center on rectangle.
|
|
CenterOnRectangleHorizontally ( |
The center on rectangle horizontally.
|
|
CenterOnRectangleVertically ( |
The center on rectangle vertically.
|
|
Draw ( ) : void |
The draw.
|
public CenterOnRectangle ( |
||
rectangle | The rectangle. | |
return | void |
public CenterOnRectangle ( Rectangle rectangle ) : void | ||
rectangle | Rectangle | The rectangle. |
return | void |
public CenterOnRectangle ( Vector2 rectanglePosition, Vector2 rectangleSize ) : void | ||
rectanglePosition | Vector2 | The rectangle position. |
rectangleSize | Vector2 | The rectangle size. |
return | void |
public CenterOnRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight ) : void | ||
rectangleX | float | The rectangle x. |
rectangleY | float | The rectangle y. |
rectangleWidth | float | The rectangle width. |
rectangleHeight | float | The rectangle height. |
return | void |
public CenterOnRectangleHorizontally ( |
||
rectangle | The rectangle. | |
indent | float | The indent. |
return | void |
public CenterOnRectangleVertically ( |
||
rectangle | The rectangle. | |
indent | float | The indent. |
return | void |