SvgImage
SvgImage class
Represents an SVG image.
SvgImage
Name | Description |
---|---|
SvgImage(byte[]) | Creates new SvgImage object. |
Parameters:
Name | Type | Description |
---|---|---|
data | byte[] | Svg data. |
Result: SvgImage
SvgImage
Name | Description |
---|---|
SvgImage(String) | Creates new SvgImage object. |
Parameters:
Name | Type | Description |
---|---|---|
svgContent | String | Svg content. |
Result: SvgImage
createSvgImageFromBytes
Name | Description |
---|---|
createSvgImageFromBytes (Bytes[]) | Creates new SvgImage object. |
Parameters:
Name | Type | Description |
---|---|---|
stream | Bytes[] | Svg stream. |
Result: 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. |
Result: 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. |
Result: 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. |
Result: 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. |
Result: 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. |
Result: 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. |
Result: SvgImage
getBaseUri
Name | Description |
---|---|
getBaseUri() | Returns base URI of the specified Svg. Used to resolve relative links. Read-only String. |
Result: String
getExternalResourceResolver
Name | Description |
---|---|
getExternalResourceResolver() | Return callback interface used to resolve external resources during Svg documents import. Read-only IExternalResourceResolver. |
Result: ExternalResourceResolver, HtmlExternalResolver
getSvgContent
Name | Description |
---|---|
getSvgContent() | Returns SVG content. Read-only String. |
Result: String
getSvgData
Name | Description |
---|---|
getSvgData() | Returns SVG data. Read-only byte[]. |
Result: byte