Layer.update

機能/意味
Update image
タイプ
Layerクラスのメソッド
構文
update(left, top, width, height)
引数
left  Specifies the left edge of the rectangle to be updated, in pixels, in display coordinates.
top  Specifies the top position of the rectangle to be updated, in pixels in display coordinates.
width  Specifies the width of the rectangle to be updated, in pixels in display coordinates.
height  Specifies the height of the rectangle to be updated, in pixels in display coordinates.
戻り値
なし (void)
説明
 This method forces the layer to be drawn on the screen.
 When a drawing method is executed, the screen is automatically updated, but this method can be used to force the screen to be drawn.
 If all arguments are omitted, the entire layer will be redrawn.
 This method sets the Layer.callOnPaint property to true.
 Until it is actually drawn on the screen, no matter how many times this method is executed, screen drawing will occur only once (cached).