| Modifier and Type | Method and Description |
|---|---|
void |
compose(Raster src, Raster dstIn, WritableRaster dstOut)
组合两个源 Raster对象,并将结果放在目标WritableRaster中 。
|
void |
dispose()
释放为上下文分配的资源。
|
void dispose()
void compose(Raster src, Raster dstIn, WritableRaster dstOut)
Raster对象,并将结果放在目标WritableRaster中 。
请注意,目标可以是与第一个或第二个源相同的对象。
需要注意的是dstIn和dstOut与必须兼容dstColorModel传递到createContext的方法Composite接口。
src -
src的第一个来源
dstIn -
dstIn的第二个来源
dstOut -所述
WritableRaster到其中的操作的结果被存储
Composite
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.