Class SignatureUiData

  • All Implemented Interfaces:

    
    public final class SignatureUiData
    extends Record
                        

    UI data for the newly drawn signature. Used by onSignatureUiDataCollected to collect the signature UI data such as point sequences, input method, pressure, time and radius of each touch.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • SignatureUiData

        SignatureUiData()
    • Method Detail

      • pointSequences

        @NonNull() List<List<PointF>> pointSequences()

        Point sequences that are in this draw view.

        Returns:

        A list of points creating the drawing lines. Note: the values are in PDF points, use toViewPoint to convert this point to the view coordinates.

      • pressureList

        @NonNull() List<Float> pressureList()

        A list of floating point values. Representing the intensity of each touch. Includes the same number of objects as `timePoints` and `touchRadii`. Predictive touches are not tracked.

        Returns:

        A list of touch intensities.

      • timePoints

        @NonNull() List<Long> timePoints()

        A list of time intervals. Representing the timestamp of each touch. Includes the same number of objects as `pressureList` and `touchRadii`. Predictive touches are not tracked.

        Returns:

        List of time intervals.

      • touchRadii

        @NonNull() List<Float> touchRadii()

        A list of floating point values. Representing the radius of each touch. Includes the same number of objects as `pressureList` and `timePoints`. Predictive touches are not tracked.

        Returns:

        A list of touch radii.