public class

StandardStampPreviewAppearance

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

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<StandardStampPreviewAppearance> CREATOR
public boolean pointLeft
public boolean pointRight
public CustomStampPreviewAppearance previewAppearance
public String text
Public Constructors
StandardStampPreviewAppearance(String stampLabel)
Class constructor when should look for a stamp in "stamps_icon.pdf"
StandardStampPreviewAppearance(String text, CustomStampPreviewAppearance previewAppearance)
Class constructor when the stamp should be created using given info
StandardStampPreviewAppearance(String text, CustomStampPreviewAppearance previewAppearance, boolean pointLeft, boolean pointRight)
Class constructor when the stamp should be created using given info
Public Methods
int describeContents()
static StandardStampPreviewAppearance[] getStandardStampAppearancesFromBundle(Bundle bundle)
Gets an array of standard rubber stamp appearances from bundle
static void putStandardStampAppearancesToBundle(Bundle bundle, StandardStampPreviewAppearance[] standardStampPreviewAppearances)
Puts an array of standard 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<StandardStampPreviewAppearance> CREATOR

public boolean pointLeft

public boolean pointRight

public CustomStampPreviewAppearance previewAppearance

public String text

Public Constructors

public StandardStampPreviewAppearance (String stampLabel)

Class constructor when should look for a stamp in "stamps_icon.pdf"

Parameters
stampLabel The label of stamp

public StandardStampPreviewAppearance (String text, CustomStampPreviewAppearance previewAppearance)

Class constructor when the stamp should be created using given info

Parameters
text The text to show in stamp
previewAppearance The appearance option for creating stamp

public StandardStampPreviewAppearance (String text, CustomStampPreviewAppearance previewAppearance, boolean pointLeft, boolean pointRight)

Class constructor when the stamp should be created using given info

Parameters
text The text to show in stamp
previewAppearance The appearance option for creating stamp
pointLeft True if point to left
pointRight True if point to right

Public Methods

public int describeContents ()

public static StandardStampPreviewAppearance[] getStandardStampAppearancesFromBundle (Bundle bundle)

Gets an array of standard rubber stamp appearances from bundle

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

public static void putStandardStampAppearancesToBundle (Bundle bundle, StandardStampPreviewAppearance[] standardStampPreviewAppearances)

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

Parameters
bundle The bundle
standardStampPreviewAppearances An array of standard rubber stamp appearances

public void writeToParcel (Parcel dest, int flags)