C# Class Ensage.Common.Objects.DrawObjects.DrawObject

The draw object.
Inheritance: IDrawObject
ファイルを表示 Open project: EnsageSharp/Ensage.Common

Public Methods

Method Description
CenterOnRectangle ( DrawRect rectangle ) : void

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 ( DrawRect rectangle, float indent ) : void

The center on rectangle horizontally.

CenterOnRectangleVertically ( DrawRect rectangle, float indent ) : void

The center on rectangle vertically.

Draw ( ) : void

The draw.

Method Details

CenterOnRectangle() public method

The center on rectangle.
public CenterOnRectangle ( DrawRect rectangle ) : void
rectangle DrawRect The rectangle.
return void

CenterOnRectangle() public method

The center on rectangle.
public CenterOnRectangle ( Rectangle rectangle ) : void
rectangle Rectangle The rectangle.
return void

CenterOnRectangle() public method

The center on rectangle.
public CenterOnRectangle ( Vector2 rectanglePosition, Vector2 rectangleSize ) : void
rectanglePosition Vector2 The rectangle position.
rectangleSize Vector2 The rectangle size.
return void

CenterOnRectangle() public method

The center on rectangle.
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

CenterOnRectangleHorizontally() public method

The center on rectangle horizontally.
public CenterOnRectangleHorizontally ( DrawRect rectangle, float indent ) : void
rectangle DrawRect The rectangle.
indent float The indent.
return void

CenterOnRectangleVertically() public method

The center on rectangle vertically.
public CenterOnRectangleVertically ( DrawRect rectangle, float indent ) : void
rectangle DrawRect The rectangle.
indent float The indent.
return void

Draw() public abstract method

The draw.
public abstract Draw ( ) : void
return void