filterEffect | R Documentation |
Create objects which describe filter effects. These objects can be used to add filter effect primitives. They can be used to apply a filter effect to grobs and also to define a filter effect so that it may be used multiple times.
filterEffect(feList = NULL, filterUnits = c("coords", "bbox"),
x = unit(0.5, "npc"), y = unit(0.5, "npc"),
width = unit(1, "npc"), height = unit(1, "npc"),
just = "centre", hjust = NULL, vjust = NULL,
default.units = "npc",
primitiveUnits = c("coords", "bbox"))
addFilterEffect(filter, filterEffect, after = NA)
feList |
A list of filter effect primitives. For example a list containing a
gaussian blur primitive created by |
filterUnits |
If If |
x |
A numeric vector or unit object specifying x-location. |
y |
A numeric vector or unit object specifying y-location. |
width |
A numeric vector or unit object specifying width. |
height |
A numeric vector or unit object specifying height. |
just |
The justification of the pattern relative to its (x, y) location.
If there are two values, the first value specifies horizontal
justification and the second value specifies vertical justification.
Possible string values are: |
hjust |
A numeric vector specifying horizontal justification. If specified,
overrides the |
vjust |
A numeric vector specifying vertical justification. If specified,
overrides the |
default.units |
A string indicating the default units to use if |
primitiveUnits |
If If |
filter |
A filter effect container object, as created by |
filterEffect |
A filter effect primitive object. |
after |
Numeric. Determines where amongst the children of |
This is primarily a container object to hold filter effect primitives.
A filter
object.
Simon Potter
https://www.w3.org/TR/SVG/filters.html#FilterElement
Any of the filter effect primitives (named fe*
),
e.g. feGaussianBlur
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.