Adobe 65010248 Scripting Guide - Page 30
Art item bounds
UPC - 883919156484
View all Adobe 65010248 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
CHAPTER 3: Scripting Illustrator Page-item positioning and dimensions 30 You can see these coordinates in the Info panel when you select or create an object in Illustrator. The default ruler origin point (0, 0) for coordinate numbering in Illustrator is the lower-left corner of the document. (ruler origin is a property of the document object) On the horizontal axis, coordinates to the right of the ruler's zero point are positive numbers. On the vertical axis, coordinates above the zero point are positive. The default page origin property of a document object defines the lower-left corner of the printable region of the document as a fixed point. Also, each page item object has width and height properties. The maximum value allowed for the width or height of a page item is 16348 points. Art item bounds Every page item object has three properties that use fixed rectangles to describe the object's overall extent: ➤ The geometric bounds of a page item are the rectangular dimensions of the object's bounding box, excluding stroke width. ➤ The visible bounds of a page item are the dimensions of the object, including any stroke widths. ➤ The control bounds define the rectangular dimensions of the object, including in and out control points. The following figure illustrates these properties, using JavaScript naming conventions.