C# Class MonoGdx.Graphics.G2D.TextureAtlas.AtlasSprite

Inheritance: Sprite
Datei anzeigen Open project: jaquadro/MonoGdx

Public Methods

Method Description
AtlasSprite ( AtlasRegion region ) : System
AtlasSprite ( AtlasSprite sprite ) : System
Flip ( bool x, bool y ) : void
Rotate90 ( bool clockwise ) : void
SetBounds ( float x, float y, float width, float height ) : void
SetOrigin ( float originX, float originY ) : void
SetPosition ( float x, float y ) : void
SetSize ( float width, float height ) : void

Method Details

AtlasSprite() public method

public AtlasSprite ( AtlasRegion region ) : System
region AtlasRegion
return System

AtlasSprite() public method

public AtlasSprite ( AtlasSprite sprite ) : System
sprite AtlasSprite
return System

Flip() public method

public Flip ( bool x, bool y ) : void
x bool
y bool
return void

Rotate90() public method

public Rotate90 ( bool clockwise ) : void
clockwise bool
return void

SetBounds() public method

public SetBounds ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

SetOrigin() public method

public SetOrigin ( float originX, float originY ) : void
originX float
originY float
return void

SetPosition() public method

public SetPosition ( float x, float y ) : void
x float
y float
return void

SetSize() public method

public SetSize ( float width, float height ) : void
width float
height float
return void