layer.maxX < number>

The right edge location of the layer.
译:层的右边缘位置。

layerA = new Layer
    x: 100
    y: 100
    width: 100
    height: 100

print layerA.maxX
# Output: 200 

layerA.maxX = 500
print layerA.x
# Output: 400

results matching ""

    No results matching ""