| java.lang.Object | |
| ↳ | com.pdftron.pdf.model.CustomStampPreviewAppearance |
The appearance of a custom rubber stamp which is used in the custom rubber dialog's preview.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Creator<CustomStampPreviewAppearance> | CREATOR | ||||||||||
| public int | bgColorEnd | ||||||||||
| public int | bgColorMiddle | ||||||||||
| public int | bgColorStart | ||||||||||
| public int | borderColor | ||||||||||
| public String | colorName | ||||||||||
| public double | fillOpacity | ||||||||||
| public int | textColor | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CustomStampPreviewAppearance(String colorName, int bgColorStart, int bgColorMiddle, int bgColorEnd, int textColor, int borderColor, double fillOpacity)
Class constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | describeContents() | ||||||||||
| static CustomStampPreviewAppearance[] |
getCustomStampAppearancesFromBundle(Bundle bundle)
Gets an array of custom rubber stamp appearances from bundle
| ||||||||||
| static void |
putCustomStampAppearancesToBundle(Bundle bundle, CustomStampPreviewAppearance[] customStampPreviewAppearances)
Puts an array of custom rubber stamp appearances into a bundle.
| ||||||||||
| void | writeToParcel(Parcel dest, int flags) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Class constructor
| bgColorStart | The start background color in gradient background |
|---|---|
| bgColorMiddle | The background color of buttons in custom rubber stamp dialog |
| bgColorEnd | The end background color in gradient background |
| textColor | The text color |
| borderColor | The border color |
| fillOpacity | The fill opacity |
Gets an array of custom rubber stamp appearances from bundle
| bundle | The bundle |
|---|
Puts an array of custom rubber stamp appearances into a bundle.
| bundle | The bundle |
|---|---|
| customStampPreviewAppearances | An array of custom rubber stamp appearances |