layer.point

Allows you to set or capture the x, and y values of a layer.
译:允许您设置或捕捉一个图层的值。

layerA = new Layer

print layerA.point
# Output: { x: 100, y: 100 } 

layerA.point =
    x: 10
    y: 200 

print layerA.point
# Output: { x: 10, y: 200 } 

print layerA.x
# Output: 10

results matching ""

    No results matching ""