Class FilterPrimitiveBase
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.filter.FilterPrimitiveBase
-
public final class FilterPrimitiveBase extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ColorInterpolation
colorInterpolation
(package private) @NotNull Length
height
private @NotNull FilterChannelKey
inputChannel
private @NotNull FilterChannelKey
resultChannel
(package private) @NotNull Length
width
(package private) @NotNull Length
x
(package private) @NotNull Length
y
-
Constructor Summary
Constructors Constructor Description FilterPrimitiveBase(@NotNull AttributeNode attributeNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Channel
channel(@NotNull FilterChannelKey key, @NotNull FilterContext context)
ColorInterpolation
colorInterpolation(@NotNull FilterContext filterContext)
@NotNull Channel
inputChannel(@NotNull FilterContext context)
@NotNull LayoutBounds
layoutInput(@NotNull FilterLayoutContext context)
void
noop(@NotNull FilterContext context)
void
saveLayoutResult(@NotNull LayoutBounds outputBounds, @NotNull FilterLayoutContext filterLayoutContext)
void
saveResult(@NotNull Channel output, @NotNull FilterContext filterContext)
private <T> void
saveResultImpl(T value, @NotNull ChannelStorage<T> storage)
-
-
-
Field Detail
-
x
@NotNull final @NotNull Length x
-
y
@NotNull final @NotNull Length y
-
width
@NotNull final @NotNull Length width
-
height
@NotNull final @NotNull Length height
-
inputChannel
@NotNull private final @NotNull FilterChannelKey inputChannel
-
resultChannel
@NotNull private final @NotNull FilterChannelKey resultChannel
-
colorInterpolation
private final ColorInterpolation colorInterpolation
-
-
Constructor Detail
-
FilterPrimitiveBase
public FilterPrimitiveBase(@NotNull @NotNull AttributeNode attributeNode)
-
-
Method Detail
-
colorInterpolation
public ColorInterpolation colorInterpolation(@NotNull @NotNull FilterContext filterContext)
-
channel
@NotNull public @NotNull Channel channel(@NotNull @NotNull FilterChannelKey key, @NotNull @NotNull FilterContext context)
-
inputChannel
@NotNull public @NotNull Channel inputChannel(@NotNull @NotNull FilterContext context)
-
layoutInput
@NotNull public @NotNull LayoutBounds layoutInput(@NotNull @NotNull FilterLayoutContext context)
-
noop
public void noop(@NotNull @NotNull FilterContext context)
-
saveLayoutResult
public void saveLayoutResult(@NotNull @NotNull LayoutBounds outputBounds, @NotNull @NotNull FilterLayoutContext filterLayoutContext)
-
saveResult
public void saveResult(@NotNull @NotNull Channel output, @NotNull @NotNull FilterContext filterContext)
-
saveResultImpl
private <T> void saveResultImpl(@NotNull T value, @NotNull @NotNull ChannelStorage<T> storage)
-
-