Shape
combined in
some manner with an Inner Shape
.
The resulting combined shape is either the intersection of the two component shapes, or the Inner shape subtracted from the Outer shape.
Modifier and Type | Field and Description |
---|---|
public static final int | |
public static final int | |
public static final int | |
public static final int | |
public static final int | TYPE_INTERSECT
Constant used to indicate that the Inner shape should be intersected with the Outer shape. |
public static final int | TYPE_SUBTRACT
Constant used to indicate that the Inner shape should be subtracted from the Outer shape. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public abstract int | Returns: the method type to use to combine the shapes.Returns the method with which to combine the two shapes. |
public abstract Shape | |
public abstract Shape |
INCLUDES_I_NOT_O | back to summary |
---|---|
public static final int INCLUDES_I_NOT_O |
INCLUDES_NEITHER | back to summary |
---|---|
public static final int INCLUDES_NEITHER |
INCLUDES_O_AND_I | back to summary |
---|---|
public static final int INCLUDES_O_AND_I |
INCLUDES_O_NOT_I | back to summary |
---|---|
public static final int INCLUDES_O_NOT_I |
TYPE_INTERSECT | back to summary |
---|---|
public static final int TYPE_INTERSECT Constant used to indicate that the Inner shape should be intersected with the Outer shape. |
TYPE_SUBTRACT | back to summary |
---|---|
public static final int TYPE_SUBTRACT Constant used to indicate that the Inner shape should be subtracted from the Outer shape. |
ShapePair | back to summary |
---|---|
public ShapePair() |
getCombinationType | back to summary |
---|---|
public abstract int getCombinationType() Returns the method with which to combine the two shapes.
For now, only
|
getInnerShape | back to summary |
---|---|
public abstract Shape getInnerShape() Returns the inner |
getOuterShape | back to summary |
---|---|
public abstract Shape getOuterShape() Returns the outer |