rectangle method
rectangle
Defines a rectangular clip path with optional rounded corners.
Returns
The current instance of ClipPathBuilder for method chaining.
def rectangle(self, x, y, width, height, rx, ry, type):
...
Parameter | Type | Description |
---|---|---|
x | float | X-coordinate of the top-left corner of the rectangle. |
y | float | Y-coordinate of the top-left corner of the rectangle. |
width | float | Width of the rectangle. |
height | float | Height of the rectangle. |
rx | float | Horizontal radius of the corners. |
ry | float | Vertical radius of the corners. |
type | LengthType | The unit type for the dimensions. |
See Also
- module
aspose.svg.builder
- class
ClipPathBuilder