Class FilterPrimitive
java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.filter.FilterPrimitive
- All Implemented Interfaces:
SVGNode
- Direct Known Subclasses:
DummyFilterPrimitive,FeBlend,FeColorMatrix,FeDisplacementMap,FeFlood,FeGaussianBlur,FeTurbulence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidapplyFilter(@NotNull Graphics2D g, @NotNull RenderContext context, @NotNull FilterContext filterContext)voidbuild(@NotNull AttributeNode attributeNode)protected @NotNull Channelchannel(@NotNull Object channelName, @NotNull FilterContext context)protected @NotNull ChannelinputChannel(@NotNull FilterContext context)protected voidsaveResult(@NotNull Channel output, @NotNull FilterContext filterContext)Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id, toString
-
Constructor Details
-
FilterPrimitive
public FilterPrimitive()
-
-
Method Details
-
channel
@NotNull protected @NotNull Channel channel(@NotNull @NotNull Object channelName, @NotNull @NotNull FilterContext context) -
inputChannel
-
saveResult
protected void saveResult(@NotNull @NotNull Channel output, @NotNull @NotNull FilterContext filterContext) -
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classAbstractSVGNode
-
applyFilter
public abstract void applyFilter(@NotNull @NotNull Graphics2D g, @NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext)
-