<qt>

## Manipulating Objects

groupObjects(...)
  `groupObjects(list)`

  Groups the objects named in "list" together. "list" must contain the names of the objects to be grouped. If "list" is not given the currently selected items are used.

isLocked(...)
  `isLocked(["name"]) -> bool`

  Returns true if is the object "name" locked. If "name" is not given the currently selected item is used.

lockObject(...)
  `lockObject(["name"]) -> bool`

  Locks the object "name" if it's unlocked or unlock it if it's locked. If "name" is not given the currently selected item is used. Returns true if locked.

moveObject(...)
  `moveObject(dx, dy [, "name"])`

  Moves the object "name" by dx and dy relative to its current position. The distances are expressed in the current measurement unit of the document (see UNIT constants). If "name" is not given the currently selected item is used. If the object "name" belongs to a group, the whole group is moved.

moveObjectAbs(...)
  `moveObjectAbs(x, y [, "name"])`

  Moves the object "name" to a new location. The coordinates are expressed in the current measurement unit of the document (see UNIT constants). If "name" is not given the currently selected item is used. If the object "name" belongs to a group, the whole group is moved.

rotateObject(...)
  `rotateObject(rot [, "name"])`

  Rotates the object "name" by "rot" degrees relatively. The object is rotated by the vertex that is currently selected as the rotation point - by default, the top left vertext at zero rotation. Positive values mean counter clockwise rotation when the default rotation point is used. If "name" is not given the currently selected item is used.

rotateObjectAbs(...)
  `rotateObjectAbs(rot [, "name"])`

  Sets the rotation of the object "name" to "rot". Positive values mean counter clockwise rotation. If "name" is not given the currently selected item is used.

scaleGroup(...)
  `scaleGroup(factor [,"name"])`

  Scales the group the object "name" belongs to. Values greater than 1 enlarge the group, values smaller than 1 make the group smaller e.g a value of 0.5 scales the group to 50 % of its original size, a value of 1.5 scales the group to 150 % of its original size. The value for "factor" must be greater than 0. If "name" is not given the currently selected item is used.

  May raise ValueError if an invalid scale factor is passed.

setScaleImageToFrame(...)
  `setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>)`

  Sets the scale to frame on the selected or specified image frame to `scaletoframe'. If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. Both `scaletoframe' and `proportional' are boolean.

  May raise WrongFrameTypeError.

setStyle(...)
  `setStyle("style" [, "name"])`

  Apply the named "style" to the object named "name". If is no object name given, it's applied on the selected object.

sizeObject(...)
  `sizeObject(width, height [, "name"])`

  Resizes the object "name" to the given width and height. If "name" is not given the currently selected item is used.

unGroupObject(...)
  `unGroupObjects("name")`

  Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.

textFlowsAroundFrame(...)
  `textFlowsAroundFrame("name" [, state])`

  Enables/disables "Text Flows Around Frame" feature for object "name". Called with parameters string name and optional boolean "state". If "state" is not passed, text flow is toggled.

</qt>