public enum HwmfRegionMode extends java.lang.Enum<HwmfRegionMode>
Enum Constant and Description |
---|
RGN_AND
The new clipping region includes the intersection (overlapping areas)
of the current clipping region and the current path (or new region).
|
RGN_COMPLEMENT
This is the opposite of
RGN_DIFF , and only made-up for compatibility with EMF+ |
RGN_COPY
The new clipping region is the current path (or the new region).
|
RGN_DIFF
The new clipping region includes the areas of the current clipping region
with those of the current path (or new region) excluded.
|
RGN_OR
The new clipping region includes the union (combined areas)
of the current clipping region and the current path (or new region).
|
RGN_XOR
The new clipping region includes the union of the current clipping region
and the current path (or new region) but without the overlapping areas
|
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
applyOp(java.awt.Shape oldClip,
java.awt.Shape newClip) |
int |
getFlag() |
static HwmfRegionMode |
valueOf(int flag) |
static HwmfRegionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HwmfRegionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HwmfRegionMode RGN_AND
public static final HwmfRegionMode RGN_OR
public static final HwmfRegionMode RGN_XOR
public static final HwmfRegionMode RGN_DIFF
public static final HwmfRegionMode RGN_COPY
public static final HwmfRegionMode RGN_COMPLEMENT
RGN_DIFF
, and only made-up for compatibility with EMF+public static HwmfRegionMode[] values()
for (HwmfRegionMode c : HwmfRegionMode.values()) System.out.println(c);
public static HwmfRegionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HwmfRegionMode valueOf(int flag)
public int getFlag()
public java.awt.Shape applyOp(java.awt.Shape oldClip, java.awt.Shape newClip)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.