C# Class PixelFarm.Agg.BasicSprite

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Protected Properties

Property Type Description
angle double
skewX double
skewY double
spriteScale double

Public Methods

Method Description
Move ( int mouseX, int mouseY ) : bool
OnDraw ( Graphics2D graphics2D ) : void

Protected Methods

Method Description
UpdateTransform ( double width, double height, double x, double y ) : void

Method Details

Move() public method

public Move ( int mouseX, int mouseY ) : bool
mouseX int
mouseY int
return bool

OnDraw() public method

public OnDraw ( Graphics2D graphics2D ) : void
graphics2D Graphics2D
return void

UpdateTransform() protected method

protected UpdateTransform ( double width, double height, double x, double y ) : void
width double
height double
x double
y double
return void

Property Details

angle protected property

protected double angle
return double

skewX protected property

protected double skewX
return double

skewY protected property

protected double skewY
return double

spriteScale protected property

protected double spriteScale
return double