Learn R Programming

gridSVG (version 1.5-0)

feOffset: 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.

Value

An fe.offset object.

Details

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

References

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

See Also

filterEffect, fe.