Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 841 Bytes

File metadata and controls

31 lines (16 loc) · 841 Bytes

document.moveSelectedBezierPointsBy()

Availability

Flash MX 2004.

Usage

document.moveSelectedBezierPointsBy(delta)

Parameters

delta A pair of floating-point values that specify the x and y coordinates in pixels by which the selected Bézier points are moved. For example, passing ({x:1,y:2}) specifies a location that is to the right by one pixel and down by two pixels from the current location.

Returns

Nothing.

Description

Method; if the selection contains at least one path with at least one Bézier point selected, moves all selected Bézier points on all selected paths by the specified amount.

Example

The following example moves the selected Bézier points 10 pixels to the right and 5 pixels down:

fl.getDocumentDOM().moveSelectedBezierPointsBy({x:10, y:5});