Layer.setPos

機能/意味
Setting the layer display position
タイプ
Layerクラスのメソッド
構文
setPos(left, top, width=void, height=void)
引数
left  Specifies the left edge position (in display coordinates of the parent layer) of the layer, in pixels.
 This value can also be obtained and set using the Layer.left property.
top  Specifies the top edge of the layer (in parent layer display coordinates) in pixels.
 This value can also be obtained and set using the Layer.top property.
width  Specifies the width of the layer in pixels.
 This value can also be obtained and set using the Layer.width property.
 If this parameter and height parameter are omitted, only the position is changed by the left parameter and top parameter.
height  Specifies the height of the layer in pixels.
 This value can also be obtained and set using the Layer.height property.
 If this parameter and the width parameter are omitted, only the position is changed by the left and top parameters.
戻り値
なし (void)
説明
 Set the display position of the layer.