public final class SoftMaskPaint extends Object implements Paint
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
SoftMaskPaint(Paint parentPaint,
Raster softMaskRaster)
Applies the soft mask to the parent.
|
Modifier and Type | Method and Description |
---|---|
PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform at,
RenderingHints hints) |
int |
getTransparency() |
public int getTransparency()
getTransparency
in interface Transparency
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform at, RenderingHints hints)
createContext
in interface Paint
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.