| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ColorModel | |
| private final Rectangle2D | |
| private int | |
| private static final Log | |
| private final BufferedImage | |
| private final Paint | |
| private final PDFunction |
| Access | Constructor and Description |
|---|---|
| pack-priv | SoftMask(Paint
underlying paint. paint, BufferedImage soft mask mask, Rectangle2D bbox of the soft mask in the underlying Graphics2D device space bboxDevice, PDColor the color to be used outside the transparency group’s bounding box; if
null, black will be used. backdropColor, PDFunction the transfer function, may be null. transferFunction)Creates a new soft mask paint. |
| Modifier and Type | Method and Description |
|---|---|
| public PaintContext | createContext(ColorModel
the preferred cm, Rectangle ColorModel which represents the most convenient
format for the caller to receive the pixel data, or null
if there is no preference.the device space bounding box
of the graphics primitive being rendered.
Implementations of the deviceBounds, Rectangle2D Paint interface
are allowed to throw NullPointerException
for a null deviceBounds.the user space bounding box
of the graphics primitive being rendered.
Implementations of the userBounds, AffineTransform Paint interface
are allowed to throw NullPointerException
for a null userBounds.the xform, RenderingHints AffineTransform from user
space into device space.
Implementations of the Paint interface
are allowed to throw NullPointerException
for a null xform.the set of hints that the context object can use to
choose between rendering alternatives.
Implementations of the hints)Paint interface
are allowed to throw NullPointerException
for a null hints.Implements java. Creates and returns a |
| public int | getTransparency()
Implements java. Returns the type of this |
| ARGB_COLOR_MODEL | back to summary |
|---|---|
| private static final ColorModel ARGB_COLOR_MODEL | |
| bboxDevice | back to summary |
|---|---|
| private final Rectangle2D bboxDevice | |
| bc | back to summary |
|---|---|
| private int bc | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| mask | back to summary |
|---|---|
| private final BufferedImage mask | |
| paint | back to summary |
|---|---|
| private final Paint paint | |
| transferFunction | back to summary |
|---|---|
| private final PDFunction transferFunction | |
| SoftMask | back to summary |
|---|---|
| pack-priv SoftMask(Paint paint, BufferedImage mask, Rectangle2D bboxDevice, PDColor backdropColor, PDFunction transferFunction) Creates a new soft mask paint.
| |
| createContext | back to summary |
|---|---|
| public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) Implements java. Doc from java. Creates and returns a
| |
| getTransparency | back to summary |
|---|---|
| public int getTransparency() Implements java. Doc from java. Returns the type of this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PaintContext |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements java. Releases the resources allocated for the operation. |
| public ColorModel | getColorModel()
Implements java. Returns the |
| public Raster | getRaster(int
the x coordinate of the area in device space
for which colors are generated. x1, int the y coordinate of the area in device space
for which colors are generated. y1, int the width of the area in device space w, int the height of the area in device space h)Implements java. Returns a |
| context | back to summary |
|---|---|
| private final PaintContext context | |
| SoftPaintContext | back to summary |
|---|---|
| pack-priv SoftPaintContext(PaintContext context) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements java. Doc from java. Releases the resources allocated for the operation.
| |
| getColorModel | back to summary |
|---|---|
| public ColorModel getColorModel() Implements java. Doc from java. Returns the
| |
| getRaster | back to summary |
|---|---|
| public Raster getRaster(int x1, int y1, int w, int h) Implements java. Doc from java. Returns a
| |