public class

CustomStampPreviewAppearance

extends Object
implements Parcelable
java.lang.Object
   ↳ com.pdftron.pdf.model.CustomStampPreviewAppearance

Class Overview

The appearance of a custom rubber stamp which is used in the custom rubber dialog's preview.

Summary

[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

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

public CustomStampPreviewAppearance (String colorName, int bgColorStart, int bgColorMiddle, int bgColorEnd, int textColor, int borderColor, double fillOpacity)

Class constructor

Parameters
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

Public Methods

public int describeContents ()

public static CustomStampPreviewAppearance[] getCustomStampAppearancesFromBundle (Bundle bundle)

Gets an array of custom rubber stamp appearances from bundle

Parameters
bundle The bundle
Returns
  • An array of custom rubber stamp appearances

public static void putCustomStampAppearancesToBundle (Bundle bundle, CustomStampPreviewAppearance[] customStampPreviewAppearances)

Puts an array of custom rubber stamp appearances into a bundle.

Parameters
bundle The bundle
customStampPreviewAppearances An array of custom rubber stamp appearances

public void writeToParcel (Parcel dest, int flags)