|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Composite
This interface is for graphics which are formed as composites of others.
It combines Graphics2D
shapes according to defined rules to form
the new image. Implementations of this interface must be immutable, because
they are not cloned when a Graphics2D container is cloned.
Since this can expose pixels to untrusted code, there is a security
check on custom objects, readDisplayPixels
, to prevent leaking
restricted information graphically.
AlphaComposite
,
CompositeContext
,
Graphics2D.setComposite(Composite)
Method Summary | |
---|---|
CompositeContext |
createContext(ColorModel srcColorModel,
ColorModel dstColorModel,
RenderingHints hints)
Create a context state for performing the compositing operation. |
Method Detail |
---|
CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
srcColorModel
- the color model of the sourcedstColorModel
- the color model of the destinationhints
- hints for choosing between rendering alternatives
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |