Name
GetPathExtents -- calculate extents of path (V5.0)
Synopsis
x1, y1, x2, y2 = GetPathExtents(id)
Function
This command calculates the extents of the path specified in id. The current fill style and form style is taken into account by this function. The extents are returned as a bounding rectangle. Note that all return values specify absolute point positions. To get the width and height of the path from these positions you have to subtract x1 from x2 and y1 from y2.

Inputs
id
identifier of path to query
Results
x1
start x position
y1
start y position
x2
end x position
y2
end y position

Show TOC