public class Region_Delegate extends Object
DelegateManager
Modifier and Type | Field and Description |
---|---|
protected static com.android.layoutlib.bridge.impl.DelegateManager<Region_Delegate> |
sManager |
Constructor and Description |
---|
Region_Delegate() |
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Area |
combineShapes(java.awt.Shape shape1,
java.awt.Shape shape2,
int regionOp)
|
static Region_Delegate |
getDelegate(int nativeShader) |
java.awt.geom.Area |
getJavaArea() |
protected static final com.android.layoutlib.bridge.impl.DelegateManager<Region_Delegate> sManager
public static Region_Delegate getDelegate(int nativeShader)
public java.awt.geom.Area getJavaArea()
public static java.awt.geom.Area combineShapes(java.awt.Shape shape1, java.awt.Shape shape2, int regionOp)
Shape
into another one (actually an Area
), according
to the given Region.Op
.
If the Op is not one that combines two shapes, then this return nullshape1
- the firt shape to combine which can be null if there's no original clip.shape2
- the 2nd shape to combineregionOp
- the operande for the combine