Image

class Image(val content: GroupNode, var size: Vector2? = null, var aspectRatio: AspectRatio = AspectRatio.DEFAULT, var href: String? = null) : FilterPrimitive(source)

An image, like feImage: content is drawn in user space when size is null, like an element that feImage refers to, otherwise the content, of size, is fitted into the subregion by aspectRatio, like an image file

Constructors

Link copied to clipboard
constructor(content: GroupNode, size: Vector2? = null, aspectRatio: AspectRatio = AspectRatio.DEFAULT, href: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var href: String?

the reference that the content is loaded from, like the href of feImage, it is written to SVG documents

Link copied to clipboard
open override val inputs: List<FilterInput>

the inputs, in the order of in and in2

Link copied to clipboard

the name of the result, null when only the next primitive uses it

Link copied to clipboard
var size: Vector2?
Link copied to clipboard

the subregion that the result of the primitive is clipped to, null for the default subregion