| java.lang.Object | ||
| ↳ | com.pdftron.pdf.model.CustomStampOption | |
| ↳ | com.pdftron.pdf.model.StandardStampOption | |
The option for creating a standard rubber stamp.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.model.CustomStampOption
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.model.CustomStampOption
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StandardStampOption(String text, String secondText, int bgColorStart, int bgColorEnd, int textColor, int borderColor, double fillOpacity, boolean isPointingLeft, boolean isPointingRight) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized static boolean |
checkStandardStamp(Context context, String name)
Checks whether a certain standard stamp exists on disk and it is valid
| ||||||||||
| static void |
clearCache(Context context)
Clear standard stamp cache.
| ||||||||||
| synchronized static Bitmap |
getStandardStampBitmap(Context context, String name)
Gets the bitmap of a standard rubber stamp.
| ||||||||||
| static String | getStandardStampBitmapPath(Context context, String name) | ||||||||||
| synchronized static Obj |
getStandardStampObj(Context context, String name)
Gets the saved custom rubber stamp at a certain position.
| ||||||||||
| synchronized static void |
saveStandardStamp(Context context, String name, CustomStampOption stampOption, Bitmap bitmap)
Saves a new custom rubber stamp.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.model.CustomStampOption
| |||||||||||
From class
java.lang.Object
| |||||||||||
Checks whether a certain standard stamp exists on disk and it is valid
| context | The context |
|---|---|
| name | The name of standard rubber stamp |
Clear standard stamp cache.
Gets the bitmap of a standard rubber stamp.
| context | The context |
|---|---|
| name | The name of standard rubber stamp |
Gets the saved custom rubber stamp at a certain position.
| context | The context |
|---|---|
| name | The name of standard rubber stamp |
Saves a new custom rubber stamp.
| context | The context |
|---|---|
| stampOption | The new custom rubber stamp |
| bitmap | The generated bitmap which can be reloaded later to avoid recreating the bitmap |