Adobe Illustrator CS6 Type Library JS: Rectangle

Illustrator CS6

Class

Rectangle

 Describes a rectangle. This class is also a four-element collection.

Properties

PropertyTypeAccessDescription
bottomnumber r/wThe bottom coordinate.
heightnumber r/wThe height.
leftnumber r/wThe left coordinate.
lengthnumber readonlyThe array length. (default: 4)
rightnumber r/wThe right coordinate.
topnumber r/wThe top coordinate.
widthnumber r/wThe width.
xnumber r/wThe left coordinate.
ynumber r/wThe top coordinate.

Element of

Artboard.artboardRect

Document.cropBox

Document.geometricBounds

Document.visibleBounds

PDFSaveOptions.bleedOffsetRect

PageItem.controlBounds

PageItem.geometricBounds

PageItem.visibleBounds

PaperInfo.imageableArea

PlacedItem.boundingBox

PrintPageMarksOptions.bleedOffsetRect

PrintPageMarksOptions.marksOffsetRect

RasterItem.boundingBox

View.bounds

Used in:

Artboard Artboards.add (artboardRect: Rectangle)

void Artboards.insert (artboardRect: Rectangle, index: Int32)

void Document.imageCapture (imageFile: File[, clipBounds: Rectangle][, options: ImageCaptureOptions])

PageItem Document.rasterize (sourceArt: any[, clipBounds: Rectangle][, options: RasterizeOptions])

Jongware, 25-Nov-2012 v3.0.3iContents :: Index