Public Member Functions | |
| void | Draw (float dest_x, float dest_y, float rotationCenterX, float rotationCenterY) |
| Draws the frame. | |
Properties | |
| Surface | Surface [get] |
| Gets the surface object the frame is drawn from. | |
| Rectangle | SourceRect [get] |
| Gets the source rectangle on the surface the frame is drawn from. | |
| void AgateLib.DisplayLib.ISpriteFrame.Draw | ( | float | dest_x, | |
| float | dest_y, | |||
| float | rotationCenterX, | |||
| float | rotationCenterY | |||
| ) |
Draws the frame.
| dest_x | ||
| dest_y | ||
| rotationCenterX | ||
| rotationCenterY |
Implemented in AgateLib.Sprites.PackedSpriteFrame, AgateLib.Sprites.Old.SpriteFrame, and AgateLib.Sprites.SpriteFrame.
Rectangle AgateLib.DisplayLib.ISpriteFrame.SourceRect [get] |
Gets the source rectangle on the surface the frame is drawn from.
Implemented in AgateLib.Sprites.PackedSpriteFrame, and AgateLib.Sprites.SpriteFrame.
Surface AgateLib.DisplayLib.ISpriteFrame.Surface [get] |
Gets the surface object the frame is drawn from.
Implemented in AgateLib.Sprites.PackedSpriteFrame, AgateLib.Sprites.Old.SpriteFrame, and AgateLib.Sprites.SpriteFrame.
|
AgateLib Awesome Game and Tool Engine Library |
|