feOffset: Offset an input image relative to its current position.

Description Usage Arguments Details Value Author(s) References See Also

View source: R/filters.R

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

1
2
3
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

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

See Also

filterEffect, fe.


gridSVG documentation built on April 28, 2020, 9:05 a.m.