Interface FlashShape

The Shape object is a subclass of the Element object. The Shape object provides more precise control than the drawing APIs when manipulating or creating geometry on the Stage. This control is necessary so that scripts can create useful effects and other drawing commands (seeElement object). All Shape methods and properties that change a shape or any of its subordinate parts must be placed between shape.beginEdit() and shape.endEdit() calls to function correctly.

Hierarchy

Index

Properties

Methods

Properties

public closePath: boolean

Read-only property; a Boolean value that specifies whether the Close Path check box in the Property inspector is selected. If the start angle and end angle values for the object are the same, setting this property has no effect until the values change. To set this value, use document.setOvalObjectProperty().

public contours: FlashContour[]

public edges: FlashEdge[]

public endAngle: number

Read-only property; a float value that specifies the end angle of the Oval object. Acceptable values are from 0 to 360.

public innerRadius: number

Read-only property; a float value that specifies the inner radius of the Oval object as a percentage. Acceptable values are from 0 to 99.

public isDrawingObject: boolean

public isGroup: boolean

public isOvalObject: boolean

public isRectangleObject: boolean

public members: FlashShape[]

public numCubicSegments: number

public startAngle: number

Read-only property; a float value that specifies the start angle of the Oval object. Acceptable values are from 0 to 360. To set this value, use document.setOvalObjectProperty().

public vertices: FlashVertex[]

Methods

public beginEdit()

public deleteEdge(index: number)

Parameters

  • index: number

public endEdit()

public getCubicSegmentPoints(cubicSegmentIndex: number): FlashPoint[]

Parameters

  • cubicSegmentIndex: number

Returns

FlashPoint[]