SvgTemplate

@Serializable
data class SvgTemplate(val uri: Rfc3986UniformResourceIdentifier, val uriIntegrity: W3cSubresourceIntegrityMetadata? = null, val properties: SvgTemplateProperties? = null)(source)

Constructors

Link copied to clipboard
constructor(uri: Rfc3986UniformResourceIdentifier, uriIntegrity: W3cSubresourceIntegrityMetadata? = null, properties: SvgTemplateProperties? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "properties")
val properties: SvgTemplateProperties?

properties: An object containing properties for the SVG template, as described in Section 4.5.1.2.1. This property is REQUIRED if more than one SVG template is present, otherwise it is OPTIONAL.

Link copied to clipboard
@SerialName(value = "uri")
val uri: Rfc3986UniformResourceIdentifier

uri: A URI pointing to the SVG template. This property is REQUIRED.

Link copied to clipboard
@SerialName(value = "uri#integrity")
val uriIntegrity: W3cSubresourceIntegrityMetadata?

uri#integrity: An "integrity metadata" string as described in Section 5. This property is OPTIONAL.