Class HandwritingResult

java.lang.Object
com.myscript.iink.HandwritingResult
All Implemented Interfaces:
AutoCloseable

public class HandwritingResult extends Object implements AutoCloseable
Represents a handwritten content generated by a handwriting generator.
Since:
4.1
See Also:
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable
    • isClosed

      public final boolean isClosed()
      Tells whether the close() method has been called. Once an object is closed any method will throw IllegalStateException.
      Returns:
      true if this object is closed.
    • toPointerEvents

      @NotNull public final @NotNull PointerEvent[] toPointerEvents(@NotNull @NotNull Transform viewTransform)
      Returns a vector of pointer events representing this handwriting result.
      Parameters:
      viewTransform - the view transform used to transform the result from millimeters to another coordinate system.
      Returns:
      a vector of pointer events.
      Throws:
      IllegalStateException - when this handwriting result is closed.
      IllegalArgumentException - when transform is not valid for this operation.