comet.rect¶
The comet.rect module is the factory for comet.CRect
objects.
Methods¶
- comet.rect.create(left, top, right, bottom)¶
Create a rectangle with the given side coordinates.
- comet.rect.createSquare(edgeLength, x=0.0, y=0.0)¶
Create a square rectangle with the given edge length at the given coordinates
- Parameters:
- Returns:
The new rectangle
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter edgeLength has invalid value
- Available:
InDesign® comet_pdf® Illustrator®
- CScript: