public static class

StampPickerItem.BitmapStampBuilder

extends Object
java.lang.Object
   ↳ com.pspdfkit.annotations.stamps.StampPickerItem.BitmapStampBuilder

Class Overview

Builder for creating custom stamps with bitmap image.

Summary

Public Methods
StampPickerItem build()
Build stamp item that can be used in setAvailableStampPickerItems(List).
StampPickerItem.BitmapStampBuilder withSize(float pdfWidth, float pdfHeight)
Sets default stamp width and height in pdf points.
StampPickerItem.BitmapStampBuilder withSize(float pdfWidth)
Sets default stamp size in pdf points.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public StampPickerItem build ()

Build stamp item that can be used in setAvailableStampPickerItems(List).

public StampPickerItem.BitmapStampBuilder 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.

public StampPickerItem.BitmapStampBuilder withSize (float pdfWidth)

Sets default stamp size in pdf points. Height is calculated from bitmap's aspect ratio.

Parameters
pdfWidth Required stamp width in pdf points.