Enum HwmfRegionMode

java.lang.Object
java.lang.Enum<HwmfRegionMode>
org.apache.poi.hwmf.record.HwmfRegionMode
All Implemented Interfaces:
Serializable, Comparable<HwmfRegionMode>, java.lang.constant.Constable

public enum HwmfRegionMode extends Enum<HwmfRegionMode>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The new clipping region includes the intersection (overlapping areas) of the current clipping region and the current path (or new region).
    This is the opposite of RGN_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 Type
    Method
    Description
    applyOp(Shape oldClip, Shape newClip)
     
    int
     
    valueOf(int flag)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RGN_AND

      public static final HwmfRegionMode 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

      public static final HwmfRegionMode 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

      public static final HwmfRegionMode 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

      public static final HwmfRegionMode 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

      public static final HwmfRegionMode RGN_COPY
      The new clipping region is the current path (or the new region).
    • RGN_COMPLEMENT

      public static final HwmfRegionMode RGN_COMPLEMENT
      This is the opposite of RGN_DIFF, and only made-up for compatibility with EMF+
  • Method Details

    • values

      public static HwmfRegionMode[] 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

      public static HwmfRegionMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOf

      public static HwmfRegionMode valueOf(int flag)
      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 name
      NullPointerException - if the argument is null
    • getFlag

      public int getFlag()
    • applyOp

      public Shape applyOp(Shape oldClip, Shape newClip)