Package com.github.weisj.jsvg.renderer
Class MaskedPaint
java.lang.Object
com.github.weisj.jsvg.renderer.MaskedPaint
- All Implemented Interfaces:
GraphicsUtil.WrappingPaint,Paint,Transparency
-
Field Summary
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
ConstructorsConstructorDescriptionMaskedPaint(@NotNull Paint paint, @NotNull Raster maskRaster, @NotNull Point2D maskOffset) -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) intvoid
-
Constructor Details
-
MaskedPaint
-
-
Method Details
-
setPaint
- Specified by:
setPaintin interfaceGraphicsUtil.WrappingPaint
-
createContext
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) - Specified by:
createContextin interfacePaint
-
getTransparency
public int getTransparency()- Specified by:
getTransparencyin interfaceTransparency
-