SvgImage
SvgImage class
Represents an SVG image.
SvgImage
| Name | Description |
|---|---|
| SvgImage(byte[]) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Svg data. |
Returns: SvgImage
SvgImage
| Name | Description |
|---|---|
| SvgImage(String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| svgContent | String | Svg content. |
Returns: SvgImage
createSvgImageFromBytes
| Name | Description |
|---|---|
| createSvgImageFromBytes (Bytes[]) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | Svg stream. |
Returns: SvgImage
SvgImage
| Name | Description |
|---|---|
| SvgImage(byte[], HtmlExternalResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Svg data. |
| externalResResolver | HtmlExternalResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
SvgImage
| Name | Description |
|---|---|
| SvgImage(byte[], ExternalResourceResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Svg data. |
| externalResResolver | ExternalResourceResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
SvgImage
| Name | Description |
|---|---|
| SvgImage(String, HtmlExternalResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| svgContent | String | Svg content. |
| externalResResolver | HtmlExternalResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
SvgImage
| Name | Description |
|---|---|
| SvgImage(String, ExternalResourceResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| svgContent | String | Svg content. |
| externalResResolver | ExternalResourceResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
createSvgImageFromBytes
| Name | Description |
|---|---|
| createSvgImageFromBytes (Bytes[], HtmlExternalResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | Svg stream. |
| externalResResolver | HtmlExternalResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
createSvgImageFromBytes
| Name | Description |
|---|---|
| createSvgImageFromBytes (Bytes[], ExternalResourceResolver, String) | Creates new SvgImage object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | Svg stream. |
| externalResResolver | ExternalResourceResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
| baseUri | String | Base URI of the specified Svg. Used to resolve relative links. |
Returns: SvgImage
getBaseUri
| Name | Description |
|---|---|
| getBaseUri() | Returns base URI of the specified Svg. Used to resolve relative links. Read-only String. |
Returns: String
getExternalResourceResolver
| Name | Description |
|---|---|
| getExternalResourceResolver() | Return callback interface used to resolve external resources during Svg documents import. Read-only IExternalResourceResolver. |
Returns: HtmlExternalResolver, ExternalResourceResolver
getSvgContent
| Name | Description |
|---|---|
| getSvgContent() | Returns SVG content. Read-only String. |
Returns: String
getSvgData
| Name | Description |
|---|---|
| getSvgData() | Returns SVG data. Read-only byte[]. |
Returns: byte