Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 550 Bytes

File metadata and controls

26 lines (15 loc) · 550 Bytes

shape.isRectangleObject

Availability

Flash CS3 Professional.

Usage

shape.isRectangleObject

Description

Read-only property; if true, the shape is a primitive Rectangle object (was created using the Rectangle Primitive tool).

Example

The following example displays "true" if the first selected item is a primitive Rectangle object, "false" if it is not:

var sel = fl.getDocumentDOM().selection[0]; 
fl.trace(sel.isRectangleObject);

See also

shape.isOvalObject