layer.draggable.cursorStartPoint < object>

Get the x and y position of the cursor, relative to the Canvas. (Read-only)
译:得到相对于画布光标的x和y位置。 (只读)

layerA = new Layer
layerA.draggable.enabled = true

# On DragStart, get x and y position of the cursor 
layerA.on Events.DragStart, ->
    print layerA.draggable.cursorStartPoint

results matching ""

    No results matching ""