ClipPathBuilder.Rectangle
ClipPathBuilder.Rectangle method
Defines a rectangular clip path with optional rounded corners.
public ClipPathBuilder Rectangle(double x, double y, double width, double height, double rx = 0m,
double ry = 0m, LengthType type = LengthType.Px)
Parameter | Type | Description |
---|---|---|
x | Double | X-coordinate of the top-left corner of the rectangle. |
y | Double | Y-coordinate of the top-left corner of the rectangle. |
width | Double | Width of the rectangle. |
height | Double | Height of the rectangle. |
rx | Double | Horizontal radius of the corners. |
ry | Double | Vertical radius of the corners. |
type | LengthType | The unit type for the dimensions. |
Return Value
The current instance of ClipPathBuilder for method chaining.
See Also
- enum LengthType
- class ClipPathBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG