layer.draggable.offset < object>

Get the x and y position of the draggable layer, relative to the Screen. (Read-only)
译:获得相对于屏幕可拖动层的x和y位置。 (只读)

layerA = new Layer
layerA.draggable.enabled = true

# Get the x and y position of the layer 
layerA.on Events.DragMove, ->
    print layerA.draggable.offset

results matching ""

    No results matching ""