Image update
left | Specifies the left edge position of the rectangle to update, in pixels in display coordinates. |
top | Specifies the top position of the rectangle to update, in pixels in display coordinates. |
width | Specifies the width of the rectangle to update, in pixels in display coordinates. |
height | Specifies the vertical width of the rectangle to update, in pixels in display coordinates. |
This method forces the layer to be drawn on the screen.
The screen is automatically updated when a drawing method is executed, but this method can be used to force drawing on the screen.
If you omit all the arguments, the entire layer will be redrawn.
This method sets the Layer.callOnPaint property to true.
No matter how many times this method is executed, the screen drawing will occur only once (cached) until it is actually drawn on the screen.