StampLine

Inheritance: java.lang.Object

public class StampLine

Specify Stamp line properties.

Constructors

Constructor Description
StampLine() Create StampLine with default values.
StampLine(String text) Create StampLine with text.

Methods

Method Description
getHeight() Gets or sets the line height on Stamp.
setHeight(int value) Gets or sets the line height on Stamp.
getBackgroundColor() Gets or sets the background color of signature.
setBackgroundColor(Color value) Gets or sets the background color of signature.
setBackgroundColor(String value) Gets or sets the background color of signature.
getText() Gets or sets the text of stamp line.
setText(String value) Gets or sets the text of stamp line.
getFont() Get or set Font of Stamp Line text.
setFont(SignatureFont value) Get or set Font of Stamp Line text.
getTextColor() Gets or sets the text color of signature.
setTextColor(Color value) Gets or sets the text color of signature.
setTextColor(String value) Gets or sets the text color of signature.
getTextBottomIntent() Gets or sets the bottom intent of text.
setTextBottomIntent(int value) Gets or sets the bottom intent of text.
getTextRepeatType() Gets or sets text repeat type.
setTextRepeatType(int value) Gets or sets text repeat type.
getOuterBorder() Setup Outer Border.
setOuterBorder(Border value) Setup Outer Border.
getInnerBorder() Setup Internal Border.
setInnerBorder(Border value) Setup Internal Border.
getVisible() Get and set visibility of Stamp Line.
setVisible(boolean value) Get and set visibility of Stamp Line.

StampLine()

public StampLine()

Create StampLine with default values.

StampLine(String text)

public StampLine(String text)

Create StampLine with text.

Parameters:

Parameter Type Description
text java.lang.String Text of Stamp Line.

getHeight()

public final int getHeight()

Gets or sets the line height on Stamp.

Returns: int

setHeight(int value)

public final void setHeight(int value)

Gets or sets the line height on Stamp.

Parameters:

Parameter Type Description
value int

getBackgroundColor()

public final Color getBackgroundColor()

Gets or sets the background color of signature.

Returns: java.awt.Color

setBackgroundColor(Color value)

public final void setBackgroundColor(Color value)

Gets or sets the background color of signature.

Parameters:

Parameter Type Description
value java.awt.Color

setBackgroundColor(String value)

public final void setBackgroundColor(String value)

Gets or sets the background color of signature.

Parameters:

Parameter Type Description
value java.lang.String

getText()

public final String getText()

Gets or sets the text of stamp line.

Returns: java.lang.String

setText(String value)

public final void setText(String value)

Gets or sets the text of stamp line.

Parameters:

Parameter Type Description
value java.lang.String

getFont()

public final SignatureFont getFont()

Get or set Font of Stamp Line text.

Returns: SignatureFont

setFont(SignatureFont value)

public final void setFont(SignatureFont value)

Get or set Font of Stamp Line text.

Parameters:

Parameter Type Description
value SignatureFont

getTextColor()

public final Color getTextColor()

Gets or sets the text color of signature.

Returns: java.awt.Color

setTextColor(Color value)

public final void setTextColor(Color value)

Gets or sets the text color of signature.

Parameters:

Parameter Type Description
value java.awt.Color

setTextColor(String value)

public final void setTextColor(String value)

Gets or sets the text color of signature.

Parameters:

Parameter Type Description
value java.lang.String

getTextBottomIntent()

public final int getTextBottomIntent()

Gets or sets the bottom intent of text.

Returns: int

setTextBottomIntent(int value)

public final void setTextBottomIntent(int value)

Gets or sets the bottom intent of text.

Parameters:

Parameter Type Description
value int

getTextRepeatType()

public final int getTextRepeatType()

Gets or sets text repeat type.

Returns: int

setTextRepeatType(int value)

public final void setTextRepeatType(int value)

Gets or sets text repeat type.

Parameters:

Parameter Type Description
value int

getOuterBorder()

public final Border getOuterBorder()

Setup Outer Border.

Returns: Border

setOuterBorder(Border value)

public final void setOuterBorder(Border value)

Setup Outer Border.

Parameters:

Parameter Type Description
value Border

getInnerBorder()

public final Border getInnerBorder()

Setup Internal Border.

Returns: Border

setInnerBorder(Border value)

public final void setInnerBorder(Border value)

Setup Internal Border.

Parameters:

Parameter Type Description
value Border

getVisible()

public final boolean getVisible()

Get and set visibility of Stamp Line.

Returns: boolean

setVisible(boolean value)

public final void setVisible(boolean value)

Get and set visibility of Stamp Line.

Parameters:

Parameter Type Description
value boolean