This interface defines a callback method that is used when a texture is complete.
public void textureUpdated(FxGraphics g, Rectangle updatedRects[],
int drawingMask);
Updates a texture with the given graphics object and array of Rectangle objects that represent areas of the texture to update.
Return Value:
No return value.
Parameter | Description |
g
| The FxGrpahics object to use.
|
updatedRects
| An array of Rectangles that define which parts of the texture need to be drawn.
|
drawingMask
| The drawing mask for the texture. This can be one or a combination of the following masks.
DRAW_TL
|
DRAW_TOP
|
DRAW_TR
|
DRAW_LEFT
|
DRAW_CENTER
|
DRAW_RIGHT
|
DRAW_BL
|
DRAW_BOTTOM
|
DRAW_TR
|
|
See Also: com.ms.fx.FxTexture