Class AbstractFilterPrimitive
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.filter.AbstractFilterPrimitive
-
- All Implemented Interfaces:
FilterPrimitive
,SVGNode
- Direct Known Subclasses:
AbstractCompositeFilterPrimitive
,ChainedFilterPrimitive
,DummyFilterPrimitive
,FeColorMatrix
,FeDisplacementMap
,FeFlood
,FeGaussianBlur
,FeOffset
,FeTurbulence
public abstract class AbstractFilterPrimitive extends AbstractSVGNode implements FilterPrimitive
-
-
Field Summary
Fields Modifier and Type Field Description private FilterPrimitiveBase
filterPrimitiveBase
-
Constructor Summary
Constructors Constructor Description AbstractFilterPrimitive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(@NotNull AttributeNode attributeNode)
ColorInterpolation
colorInterpolation(@NotNull FilterContext filterContext)
@NotNull Length
height()
protected @NotNull FilterPrimitiveBase
impl()
@NotNull Length
width()
@NotNull Length
x()
@NotNull Length
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
applyFilter, isValid, layoutFilter
-
-
-
-
Field Detail
-
filterPrimitiveBase
private FilterPrimitiveBase filterPrimitiveBase
-
-
Method Detail
-
build
@MustBeInvokedByOverriders public void build(@NotNull @NotNull AttributeNode attributeNode)
- Specified by:
build
in interfaceSVGNode
- Overrides:
build
in classAbstractSVGNode
-
impl
@NotNull protected final @NotNull FilterPrimitiveBase impl()
-
x
@NotNull public @NotNull Length x()
- Specified by:
x
in interfaceFilterPrimitive
-
y
@NotNull public @NotNull Length y()
- Specified by:
y
in interfaceFilterPrimitive
-
width
@NotNull public @NotNull Length width()
- Specified by:
width
in interfaceFilterPrimitive
-
height
@NotNull public @NotNull Length height()
- Specified by:
height
in interfaceFilterPrimitive
-
colorInterpolation
public ColorInterpolation colorInterpolation(@NotNull @NotNull FilterContext filterContext)
- Specified by:
colorInterpolation
in interfaceFilterPrimitive
-
-