feImage: Draw a referred image.

View source: R/filters.R

feImageR Documentation

Draw a referred image.

Description

This filter effect primitive refers to a graphic external to this filter container, which is loaded or rendered into an RGBA raster and becomes the result of the filter effect primitive.

Usage

feImage(preserveAspectRatio = "xMidYMid meet", href = "", ...)

Arguments

preserveAspectRatio

See references for appropriate values and behaviour.

href

A URL reference to a stand-alone image resource such as a JPEG, PNG or SVG file. e.g. http://example.com/img.jpg

...

Further arguments to be passed onto fe.

Details

For more information about this primitive, consult the reference to the SVG specification.

Value

An fe.image object.

Author(s)

Simon Potter

References

https://www.w3.org/TR/SVG/filters.html#feImageElement https://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute

See Also

filterEffect, fe.


gridSVG documentation built on March 31, 2023, 3:09 p.m.

Related to feImage in gridSVG...