Class FeOffset
java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.filter.AbstractFilterPrimitive
com.github.weisj.jsvg.nodes.filter.FeOffset
- All Implemented Interfaces:
FilterPrimitive
,SVGNode
@ElementCategories(FilterPrimitive)
@PermittedContent(anyOf={Animate.class,Set.class})
public final class FeOffset
extends AbstractFilterPrimitive
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyFilter
(@NotNull RenderContext context, @NotNull FilterContext filterContext) void
build
(@NotNull AttributeNode attributeNode) void
layoutFilter
(@NotNull RenderContext context, @NotNull FilterLayoutContext filterLayoutContext) private Point2D.Double
offset
(@Nullable AffineTransform at, @NotNull UnitType filterPrimitiveUnits, @NotNull Rectangle2D elementBounds) @NotNull String
tagName()
Methods inherited from class com.github.weisj.jsvg.nodes.filter.AbstractFilterPrimitive
colorInterpolation, height, impl, width, x, y
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.weisj.jsvg.nodes.filter.FilterPrimitive
isValid
-
Field Details
-
TAG
- See Also:
-
dx
private float dx -
dy
private float dy
-
-
Constructor Details
-
FeOffset
public FeOffset()
-
-
Method Details
-
tagName
-
build
- Specified by:
build
in interfaceSVGNode
- Overrides:
build
in classAbstractFilterPrimitive
-
offset
private Point2D.Double offset(@Nullable @Nullable AffineTransform at, @NotNull @NotNull UnitType filterPrimitiveUnits, @NotNull @NotNull Rectangle2D elementBounds) -
layoutFilter
public void layoutFilter(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterLayoutContext filterLayoutContext) -
applyFilter
public void applyFilter(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext)
-