Package org.apache.poi.hwmf.record
Enum HwmfRegionMode
- All Implemented Interfaces:
Serializable,Comparable<HwmfRegionMode>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe new clipping region includes the intersection (overlapping areas) of the current clipping region and the current path (or new region).This is the opposite ofRGN_DIFF, and only made-up for compatibility with EMF+The new clipping region is the current path (or the new region).The new clipping region includes the areas of the current clipping region with those of the current path (or new region) excluded.The new clipping region includes the union (combined areas) of the current clipping region and the current path (or new region).The new clipping region includes the union of the current clipping region and the current path (or new region) but without the overlapping areas -
Method Summary
Modifier and TypeMethodDescriptionintgetFlag()static HwmfRegionModevalueOf(int flag) Returns the enum constant of this type with the specified name.static HwmfRegionModeReturns 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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RGN_AND
The new clipping region includes the intersection (overlapping areas) of the current clipping region and the current path (or new region). -
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 -
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_COPY
The new clipping region is the current path (or the new region). -
RGN_COMPLEMENT
This is the opposite ofRGN_DIFF, and only made-up for compatibility with EMF+
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
flag- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFlag
public int getFlag() -
applyOp
-