SVGMarkerElementBuilder class
SVGMarkerElementBuilder class
Builder class for constructing an SVG ‘marker’ element, which is used to define graphical markers, such as arrowheads or bullets, that can be attached to the ‘path’, ’line’, ‘polyline’, and ‘polygon’ elements. This class enables the building of content within the ‘marker’ element and provides methods to set various attributes specific to the ‘marker’ element in SVG.
The SVGMarkerElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGMarkerElementBuilder |
Methods
Method | Description |
---|---|
orient | Sets the ‘orient’ attribute of the SVG ‘marker’ element, specifying the orientation of the marker. |
orient | Sets the ‘orient’ attribute of the SVG ‘marker’ element, specifying the orientation angle of the marker. |
build | |
build | |
marker_width | Sets the ‘markerWidth’ attribute of the SVG ‘marker’ element, specifying the width of the marker’s viewport. |
marker_height | Sets the ‘markerHeight’ attribute of the SVG ‘marker’ element, specifying the height of the marker’s viewport. |
marker_units | Sets the ‘markerUnits’ attribute of the SVG ‘marker’ element, specifying the coordinate system for the marker’s attributes. |
build_element | Builds and returns an SVGElement instance based on the current configuration of the builder. |
attribute | Sets or updates an attribute on an SVG element. |
See Also
- module
aspose.svg.builder
- class
ISVGElementBuilder