public final class MiscComposite
extends java.lang.Object
implements java.awt.Composite
Modifier and Type | Field and Description |
---|---|
static int |
ADD |
static int |
AVERAGE |
static int |
BLEND |
static int |
BURN |
static int |
COLOR |
static int |
COLOR_BURN |
static int |
COLOR_DODGE |
static int |
DARKEN |
static int |
DIFFERENCE |
static int |
DODGE |
static int |
EXCLUSION |
protected float |
extraAlpha |
static int |
HARD_LIGHT |
static int |
HUE |
static int |
LIGHTEN |
static int |
MULTIPLY |
static int |
NEGATION |
static int |
OVERLAY |
static int |
PIN_LIGHT |
protected int |
rule |
static java.lang.String[] |
RULE_NAMES |
static int |
SATURATION |
static int |
SCREEN |
static int |
SILHOUETTE |
static int |
SOFT_LIGHT |
static int |
STENCIL |
static int |
SUBTRACT |
static int |
VALUE |
Modifier and Type | Method and Description |
---|---|
java.awt.CompositeContext |
createContext(java.awt.image.ColorModel srcColorModel,
java.awt.image.ColorModel dstColorModel,
java.awt.RenderingHints hints) |
boolean |
equals(java.lang.Object o) |
float |
getAlpha() |
static java.awt.Composite |
getInstance(int rule,
float alpha) |
int |
getRule() |
int |
hashCode() |
public static final int BLEND
public static final int ADD
public static final int SUBTRACT
public static final int DIFFERENCE
public static final int MULTIPLY
public static final int DARKEN
public static final int BURN
public static final int COLOR_BURN
public static final int SCREEN
public static final int LIGHTEN
public static final int DODGE
public static final int COLOR_DODGE
public static final int HUE
public static final int SATURATION
public static final int VALUE
public static final int COLOR
public static final int OVERLAY
public static final int SOFT_LIGHT
public static final int HARD_LIGHT
public static final int PIN_LIGHT
public static final int EXCLUSION
public static final int NEGATION
public static final int AVERAGE
public static final int STENCIL
public static final int SILHOUETTE
public static java.lang.String[] RULE_NAMES
protected float extraAlpha
protected int rule
public static java.awt.Composite getInstance(int rule, float alpha)
public java.awt.CompositeContext createContext(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel, java.awt.RenderingHints hints)
createContext
in interface java.awt.Composite
public float getAlpha()
public int getRule()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object