SVGRectElementBuilder Class
Contents
[
Hide
]SVGRectElementBuilder class
Builder class for constructing an SVG ‘rect’ element. The ‘rect’ element is used to create rectangles within SVG graphics. This class provides methods to set various attributes specific to the ‘rect’ element, including corner radii and dimensions.
public class SVGRectElementBuilder : SVGElementBuilder<SVGRectElement>, IAnimationElementBuilder,
IDescriptiveElementBuilder, IPaintServerElementBuilder, IRectAttributeSetter,
IShapeAttributeSetter, IShapeContentElementBuilder
Constructors
Name | Description |
---|---|
SVGRectElementBuilder() | The default constructor. |
Properties
Name | Description |
---|---|
Configurations { get; } |
Methods
Name | Description |
---|---|
Attribute(string, string) | |
virtual Build(Document) | |
virtual Build(SVGRectElement) | |
BuildElement(Document) | |
Rx(double, LengthType) | Sets the ‘rx’ attribute of the SVG ‘rect’ element, specifying the horizontal radius of the rectangle’s rounded corners. |
Ry(double, LengthType) | Sets the ‘ry’ attribute of the SVG ‘rect’ element, specifying the vertical radius of the rectangle’s rounded corners. |
See Also
- class SVGElementBuilder<T>
- class SVGRectElement
- interface IAnimationElementBuilder
- interface IDescriptiveElementBuilder
- interface IPaintServerElementBuilder
- interface IRectAttributeSetter
- interface IShapeAttributeSetter
- interface IShapeContentElementBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG