Class SignatureUiData

  • All Implemented Interfaces:

    
    public class SignatureUiData
    
                        

    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.

    • Method Detail

      • getPointSequences

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

        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.

      • getPressureList

        @NonNull() List<Float> getPressureList()

        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.

      • getTimePoints

        @NonNull() List<Long> getTimePoints()

        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.

      • getTouchRadii

        @NonNull() List<Float> getTouchRadii()

        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.