The alignment mode to use.
A promise that resolves when the alignment operation is complete.
Centers the graphic object based on the specified center mode.
The centering mode to use.
A promise that resolves when the centering operation is complete.
Changes the rendering order of the graphic object.
The operation to perform (0 for move up, 1 for move down).
A promise that resolves when the rendering order change is complete.
Copies the graphic object.
A promise that resolves to true if the copy operation succeeded, or false if it failed.
Cuts the graphic object.
A promise that resolves when the cut operation is complete.
Deletes the graphic object.
A promise that resolves when the delete operation is complete.
Flips the graphic object either vertically or horizontally.
Optionalvertical: booleanIf true, flip vertically; if false, flip horizontally.
A promise that resolves when the flip operation is complete.
get the height of the graphic object
A promise that resolves to the height value or -1 if the operation failed.
get the opacity of the graphic object
A promise that resolves to the opacity value or Infinity if the operation failed.
Gets the type of the graphic object utility.
A promise that resolves to the type of the graphic object utility.
get the width of the graphic object
A promise that resolves to the width value or -1 if the operation failed.
get the X position of the graphic object
A promise that resolves to the X position value or false if the operation failed.
get the Y position of the graphic object
A promise that resolves to the Y position value or false if the operation failed.
Moves the graphic object to a specified page and position.
The destination page to move the graphic object to.
The document view context for the move operation.
The offset position to move the graphic object to.
A promise that resolves when the move operation is complete.
OptionaloptionsRotates the graphic object by the specified angle.
The angle in degrees to rotate the graphic object.
A promise that resolves when the rotation is complete.
Scales the graphic object to fit within the specified rectangle.
Sets the height of the graphic object.
The height value to set.
A promise that resolves to true if the operation succeeded, or false if it failed.
Sets the opacity of the graphic object.
The opacity value to set (0-100).
Optionalundo: booleanWhether to allow undoing the operation. default false
A promise that resolves to true if the operation succeeded, or false if it failed.
Sets the width of the graphic object.
The width value to set.
A promise that resolves to true if the operation succeeded, or false if it failed.
Sets the X position of the graphic object.
The X position value to set.
A promise that resolves to true if the operation succeeded, or false if it failed.
Sets the Y position of the graphic object.
The Y position value to set.
A promise that resolves to true if the operation succeeded, or false if it failed.
Shears the graphic object by the specified angle.
The angle in degrees to shear the graphic object.
A promise that resolves when the shear operation is complete.
Resizes the graphic object based on the specified size mode.
The sizing mode to use.
A promise that resolves when the sizing operation is complete.
Aligns the graphic object based on the specified alignment mode.