|
| void | SetRect (int x, int y, int width, int height) |
| | Convenience function – set the X, Y, width, and height. More...
|
| |
| void | SetPadding (int left, int bottom, int right, int top) |
| | Convenience function – set the sprite's padding. More...
|
| |
| void | SetBorder (int left, int bottom, int right, int top) |
| | Convenience function – set the sprite's border. More...
|
| |
| void | CopyFrom (UISpriteData sd) |
| | Copy all values of the specified sprite data. More...
|
| |
| void | CopyBorderFrom (UISpriteData sd) |
| | Copy the border information from the specified sprite. More...
|
| |
Copy the border information from the specified sprite.
Copy all values of the specified sprite data.
| void UISpriteData.SetBorder |
( |
int |
left, |
|
|
int |
bottom, |
|
|
int |
right, |
|
|
int |
top |
|
) |
| |
Convenience function – set the sprite's border.
| void UISpriteData.SetPadding |
( |
int |
left, |
|
|
int |
bottom, |
|
|
int |
right, |
|
|
int |
top |
|
) |
| |
Convenience function – set the sprite's padding.
| void UISpriteData.SetRect |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Convenience function – set the X, Y, width, and height.
| int UISpriteData.borderBottom = 0 |
| int UISpriteData.borderLeft = 0 |
| int UISpriteData.borderRight = 0 |
| int UISpriteData.borderTop = 0 |
| int UISpriteData.height = 0 |
| string UISpriteData.name = "Sprite" |
| int UISpriteData.paddingBottom = 0 |
| int UISpriteData.paddingLeft = 0 |
| int UISpriteData.paddingRight = 0 |
| int UISpriteData.paddingTop = 0 |
| int UISpriteData.width = 0 |
| bool UISpriteData.hasBorder |
|
get |
Whether the sprite has a border.
| bool UISpriteData.hasPadding |
|
get |
Whether the sprite has been offset via padding.
The documentation for this class was generated from the following file: