EDOBE XDOM TPC Technical Information Page 31

  • Download
  • Add to my manuals
  • Print
  • Page
    / 68
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 30
CHAPTER 3: Scripting Illustrator Page-item positioning and dimensions 31
You can see these coordinates in the Info panel when you select or create an object in Illustrator.
For the artboard, the default coordinate origin, (0,0), is the top-left corner, reflected in the
ruler origin
property of the
artboard object. X coordinate values increase from left to right, and Y values increase
from top to bottom. This changed in the CS5 release; to maintain script compatability, a document created
by a script still uses the older system, with the origin at the bottom left of the artboard, and the Y value
increasing from bottom to top. The
page origin property of a document object defines the bottom-left
corner of the printable region of the document as a fixed point.
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 objects overall
extent:
X The geometric bounds of a page item are the rectangular dimensions of the object’s bounding box,
excluding stroke width.
X The visible bounds of a page item are the dimensions of the object, including any stroke widths.
X 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.
Page view 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 67 68

Comments to this Manuals

No comments