Class ImageProducerChannel
java.lang.Object
com.github.weisj.jsvg.nodes.filter.ImageProducerChannel
- All Implemented Interfaces:
Channel
,PixelProvider
- Direct Known Subclasses:
Filter.SourceAlphaChannel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull ImageProducer
private WritableRaster
private BufferedImage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Channel
applyFilter
(@NotNull ImageFilter filter) int
pixelAt
(double x, double y) @NotNull PixelProvider
pixels
(@NotNull RenderContext context) @NotNull ImageProducer
producer()
private @NotNull BufferedImage
rasterBuffer
(@NotNull RenderContext context) @NotNull Image
toImage
(@NotNull RenderContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.weisj.jsvg.nodes.filter.Channel
alphaChannel, toBufferedImageNonAliased
-
Field Details
-
producer
-
rasterBuffer
-
raster
-
-
Constructor Details
-
ImageProducerChannel
-
-
Method Details
-
producer
-
applyFilter
- Specified by:
applyFilter
in interfaceChannel
-
toImage
-
rasterBuffer
-
pixels
-
pixelAt
public int pixelAt(double x, double y) - Specified by:
pixelAt
in interfacePixelProvider
-