feOffset {gridSVG}R Documentation

Offset an input image relative to its current position.

Description

This filter primitive offsets the input image relative to its current position in the image space by the specified vector.

This is important for effects like drop shadows.

Usage

feOffset(input = NA,
         dx = unit(0, "npc"), dy = unit(0, "npc"),
         default.units = "npc", ...)

Arguments

input

Identifies an input for this filter primtive. See filterInputs.

dx

The amount to offset input by along the x-axis.

dy

The amount to offset input by along the y-axis.

default.units

A string indicating the default units to use if dx or dy are only given as numeric vectors.

...

Further arguments to be passed onto fe.

Details

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

Value

An fe.offset object.

Author(s)

Simon Potter

References

https://www.w3.org/TR/SVG/filters.html#feOffsetElement

See Also

filterEffect, fe.


[Package gridSVG version 1.7-5 Index]