|
PulpCore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pulpcore.image.BlendMode
public final class BlendMode
An enumeration of blend modes.
The methods always returns the same object; that is,
BlendMode.SrcOver() == BlendMode.SrcOver()
is always true
.
The BlendMode class is designed for lazy-creation of blend modes so that code shrinkers (ProGuard) can remove blend modes that an app does not use.
CoreGraphics.setBlendMode(BlendMode)
,
Sprite.setBlendMode(BlendMode)
Method Summary | |
---|---|
static BlendMode |
Add()
Gets the Add blend mode. |
static BlendMode |
Clear()
Gets the Clear blend mode (Porter-Duff). |
static BlendMode |
Dst()
Gets the Dst blend mode (Porter-Duff). |
static BlendMode |
DstAtop()
Gets the DstAtop blend mode (Porter-Duff). |
static BlendMode |
DstIn()
Gets the DstIn blend mode (Porter-Duff). |
static BlendMode |
DstOut()
Gets the DstOut blend mode (Porter-Duff). |
static BlendMode |
DstOver()
Gets the DstOver blend mode (Porter-Duff). |
static BlendMode |
Multiply()
Gets the Multiply blend mode. |
static BlendMode |
Src()
Gets the SrcIn blend mode (Porter-Duff). |
static BlendMode |
SrcAtop()
Gets the SrcAtop blend mode (Porter-Duff). |
static BlendMode |
SrcIn()
Gets the SrcIn blend mode (Porter-Duff). |
static BlendMode |
SrcOut()
Gets the SrcOut blend mode (Porter-Duff). |
static BlendMode |
SrcOver()
Gets the SrcOver blend mode. |
static BlendMode |
Xor()
Gets the Xor blend mode (Porter-Duff). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BlendMode Clear()
public static BlendMode Xor()
public static BlendMode Dst()
public static BlendMode DstOver()
public static BlendMode DstIn()
public static BlendMode DstOut()
public static BlendMode DstAtop()
public static BlendMode Src()
public static BlendMode SrcIn()
public static BlendMode SrcOut()
public static BlendMode SrcAtop()
public static BlendMode SrcOver()
public static BlendMode Add()
public static BlendMode Multiply()
|
PulpCore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |