Enum Class TransformError

java.lang.Object
java.lang.Enum<TransformError>
com.myscript.iink.TransformError
All Implemented Interfaces:
Serializable, Comparable<TransformError>, Constable

public enum TransformError extends Enum<TransformError>
Error code returned by Editor getTransformStatus
  • Enum Constant Details

    • ALLOWED

      public static final TransformError ALLOWED
      The transform is allowed.
    • UNSUPPORTED

      public static final TransformError UNSUPPORTED
      The transform is not supported on this content selection (internal error).
    • NULL_SELECTION

      public static final TransformError NULL_SELECTION
      The content selection is null.
    • PARTIAL_BLOCKS

      public static final TransformError PARTIAL_BLOCKS
      The content selection contains blocks partially selected.
    • MULTIPLE_BLOCKS

      public static final TransformError MULTIPLE_BLOCKS
      The content selection contains multiple blocks.
    • BEAUTIFIED_BLOCKS

      public static final TransformError BEAUTIFIED_BLOCKS
      The content selection contains beautified blocks.
    • TEXT_BLOCKS

      public static final TransformError TEXT_BLOCKS
      The content selection contains text blocks.
    • MATH_BLOCKS

      public static final TransformError MATH_BLOCKS
      The content selection contains math blocks.
    • DRAWING_BLOCKS

      public static final TransformError DRAWING_BLOCKS
      The content selection contains drawing blocks.
    • GUIDES

      public static final TransformError GUIDES
      The content selection has guides.
    • INVALID

      public static final TransformError INVALID
      The transform is invalid (cannot be decomposed).
    • NON_INVERTIBLE

      public static final TransformError NON_INVERTIBLE
      The transform is non invertible.
    • BAD_NUMERIC

      public static final TransformError BAD_NUMERIC
      The transform has a bad numeric value (infinite or NaN).
    • HAS_ROTATION

      public static final TransformError HAS_ROTATION
      The transform has a rotation component.
    • HAS_SCALE

      public static final TransformError HAS_SCALE
      The transform has a scale component.
    • HAS_NEGATIVE_SCALE

      public static final TransformError HAS_NEGATIVE_SCALE
      The transform has a negative scale component.
    • HAS_SHEAR

      public static final TransformError HAS_SHEAR
      The transform has a shear component.
    • HAS_TRANSLATION

      public static final TransformError HAS_TRANSLATION
      The transform has a translation component.
  • Method Details

    • values

      public static TransformError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TransformError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null