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

The draw object.
Inheritance: IDrawObject
Afficher le fichier Open project: EnsageSharp/Ensage.Common

Méthodes publiques

Méthode 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 méthode

The center on rectangle.
public CenterOnRectangle ( DrawRect rectangle ) : void
rectangle DrawRect The rectangle.
Résultat void

CenterOnRectangle() public méthode

The center on rectangle.
public CenterOnRectangle ( Rectangle rectangle ) : void
rectangle Rectangle The rectangle.
Résultat void

CenterOnRectangle() public méthode

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

CenterOnRectangle() public méthode

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.
Résultat void

CenterOnRectangleHorizontally() public méthode

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

CenterOnRectangleVertically() public méthode

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

Draw() public abstract méthode

The draw.
public abstract Draw ( ) : void
Résultat void