SVGImageElementBuilder class
SVGImageElementBuilder class
Builder class for constructing an SVG ‘image’ element. This element is used to embed images within SVG graphics. It provides methods to set various attributes specific to the ‘image’ element and to add additional configurations like clip paths, masks, styles, and scripts.
The SVGImageElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGImageElementBuilder |
Methods
Method | Description |
---|---|
href_base_64_from_file | Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file. |
href_base_64_from_file | Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file with a specified MIME type. |
build | |
build | |
href | Sets the ‘href’ attribute of the SVG ‘image’ element, specifying the URL of the image to be embedded. |
href_base_64_from_bytes | Sets the ‘href’ attribute of the SVG ‘image’ element using base64 encoded bytes of an image. |
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