Package com.pspdfkit.annotations.stamps
Class StampPickerItem.BitmapStampBuilder
-
- All Implemented Interfaces:
public class StampPickerItem.BitmapStampBuilder
Builder for creating custom stamps with bitmap image.
-
-
Method Summary
Modifier and Type Method Description 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. StampPickerItem
build()
Build stamp item that can be used in setAvailableStampPickerItems. -
-
Method Detail
-
withSize
@NonNull() 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.
-
withSize
@NonNull() 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.
-
build
@NonNull() StampPickerItem build()
Build stamp item that can be used in setAvailableStampPickerItems.
-
-
-
-