Class StampPickerItem.Builder

    • Constructor Detail

    • Method Detail

      • withSize

        @NonNull() StampPickerItem.Builder withSize(float pdfWidth, float pdfHeight)

        Sets default stamp width and height in pdf points.

        Parameters:
        pdfWidth - Required stamp width in pdf points.
        pdfHeight - Required stamp height in pdf points.
      • withSize

        @NonNull() StampPickerItem.Builder withSize(float pdfSize)

        Sets default stamp size in pdf points. This is equivalent to calling withSize with the same width and height parameters.

        Parameters:
        pdfSize - Required stamp width and height in pdf points.
      • withDateTimeSubtitle

        @NonNull() StampPickerItem.Builder withDateTimeSubtitle(boolean addDate, boolean addTime)

        Method for conveniently setting stamp subtitle to date, time or date-time string.

        This method uses localized date-time formats DateFormat#getDateFormat(Context) and DateFormat#getTimeFormat(Context). If both addDate and addTime flags are enabled created date-time string uses above formats separated by ", ".

        If you want further control over stamp subtitle use withSubtitle to set any string as stamp subtitle.

        Parameters:
        addDate - Add date portion to date-time string.
        addTime - Add time portion to date-time string.