SVGRectElementBuilder Class
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
Properties
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