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 TypeMethodDescriptionvoidapplyFilter(@NotNull RenderContext context, @NotNull FilterContext filterContext) voidbuild(@NotNull AttributeNode attributeNode) voidlayoutFilter(@NotNull RenderContext context, @NotNull FilterLayoutContext filterLayoutContext) private Point2D.Doubleoffset(@Nullable AffineTransform at, @NotNull UnitType filterPrimitiveUnits, @NotNull Rectangle2D elementBounds) @NotNull StringtagName()Methods inherited from class AbstractFilterPrimitive
colorInterpolation, height, impl, width, x, yMethods inherited from class AbstractSVGNode
addContent, id, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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:
buildin interfaceSVGNode- Overrides:
buildin 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)
-