getObjectType(["name"]) -> string
Get type of object "name" as a string. If "name" is not given the currently selected item is used.
getCornerRadius(["name"]) -> integer
Returns the corner radius of the object "name". The radius is expressed in points. If "name" is not given the currently selected item is used.
getCustomLineStyle(["name"]) -> string
Returns the style name of custom line style for the object. If object's "name" is not given the currently selected item is used.
getFillBlendmode(["name"]) -> integer
Returns the fill blendmode of the object "name". If "name" is not given the currently selected Item is used.
getFillColor(["name"]) -> string
Returns the name of the fill color of the object "name". If "name" is not given the currently selected item is used.
getFillShade(["name"]) -> integer
Returns the shading value of the fill color of the object "name". If "name" is not given the currently selected item is used.
getFillTransparency(["name"]) -> float
Returns the fill transparency of the object "name". If "name" is not given the currently selected Item is used.
getImageColorSpace(["name"]) -> integer (see CSPACE_* constants)
Returns the color space of the image loaded in image frame "name" as one of following integer constants:
Returns CSPACE_UNDEFINED if there is no image loaded in the frame.
If "name" is not given the currently selected item is used.
getImageFile(["name"]) -> string
Returns the filename for the image in the image frame. If "name" is not given the currently selected item is used.
getImageOffset(["name"]) -> (x,y)
Returns a (x, y) tuple containing the offset values in point unit of the image frame "name". If "name" is not given the currently selected item is used.
getImageScale(["name"]) -> (x,y)
Returns a (x, y) tuple containing the scaling values of the image frame "name". If "name" is not given the currently selected item is used.
getItemPageNumber(["name"]) -> integer
Returns the page number for the given page item. If "name" is not given the currently selected item is used.
getLineBlendmode(["name"]) -> integer
Returns the line blendmode of the object "name". If "name" is not given the currently selected Item is used.
getLineEnd(["name"]) -> integer (see constants)
Returns the line cap style of the object "name". If "name" is not given the currently selected item is used. The cap types are: CAP_FLAT, CAP_ROUND, CAP_SQUARE
getLineColor(["name"]) -> string
Returns the name of the line color of the object "name". If "name" is not given the currently selected item is used.
getLineJoin(["name"]) -> integer (see contants)
Returns the line join style of the object "name". If "name" is not given the currently selected item is used. The join types are: JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
getLineShade(["name"]) -> integer
Returns the shading value of the line color of the object "name". If "name" is not given the currently selected item is used.
getLineStyle(["name"]) -> integer (see constants)
Returns the line style of the object "name". If "name" is not given the currently selected item is used. Line style constants are: LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
getLineTransparency(["name"]) -> float
Returns the line transparency of the object "name". If "name" is not given the currently selected Item is used.
getLineWidth(["name"]) -> integer
Returns the line width of the object "name". If "name" is not given the currently selected Item is used.
getObjectAttributes(["name"]) -> list
Returns a list containing all attributes of object "name". If "name" is not given the currently selected Item is used.
getPosition(["name"]) -> (x,y)
Returns a (x, y) tuple with the position of the object "name". If "name" is not given the currently selected item is used. The position is expressed in the actual measurement unit of the document - see UNIT_<type> for reference.
getRotation(["name"]) -> integer
Returns the rotation of the object "name". The value is expressed in degrees, and clockwise is positive. If "name" is not given the currently selected item is used.
getSize(["name"]) -> (width,height)
Returns a (width, height) tuple with the size of the object "name". If "name" is not given the currently selected item is used. The size is expressed in the current measurement unit of the document - see UNIT_<type> for reference.