Module com.github.weisj.jsvg
Class AbstractBlendComposite.BlendingContext
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.filter.AbstractBlendComposite.BlendingContext
-
- All Implemented Interfaces:
java.awt.CompositeContext
- Enclosing class:
- AbstractBlendComposite
private static final class AbstractBlendComposite.BlendingContext extends java.lang.Object implements java.awt.CompositeContext
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull AbstractBlendComposite.Blenderblenderprivate booleanconvertToLinearRGBprivate @NotNull java.awt.image.ColorModeldestinationColorModelprivate @NotNull java.awt.image.ColorModelsourceColorModel
-
Constructor Summary
Constructors Modifier Constructor Description privateBlendingContext(@NotNull AbstractBlendComposite.Blender blender, @NotNull java.awt.image.ColorModel sourceColorModel, @NotNull java.awt.image.ColorModel destinationColorModel, boolean convertToLinearRGB)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompose(@NotNull java.awt.image.Raster src, @NotNull java.awt.image.Raster dstIn, @NotNull java.awt.image.WritableRaster dstOut)voiddispose()
-
-
-
Field Detail
-
blender
@NotNull private final @NotNull AbstractBlendComposite.Blender blender
-
sourceColorModel
@NotNull private final @NotNull java.awt.image.ColorModel sourceColorModel
-
destinationColorModel
@NotNull private final @NotNull java.awt.image.ColorModel destinationColorModel
-
convertToLinearRGB
private final boolean convertToLinearRGB
-
-
Constructor Detail
-
BlendingContext
private BlendingContext(@NotNull @NotNull AbstractBlendComposite.Blender blender, @NotNull @NotNull java.awt.image.ColorModel sourceColorModel, @NotNull @NotNull java.awt.image.ColorModel destinationColorModel, boolean convertToLinearRGB)
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfacejava.awt.CompositeContext
-
compose
public void compose(@NotNull @NotNull java.awt.image.Raster src, @NotNull @NotNull java.awt.image.Raster dstIn, @NotNull @NotNull java.awt.image.WritableRaster dstOut)- Specified by:
composein interfacejava.awt.CompositeContext
-
-