StampSignOptions

Inheritance: java.lang.Object, com.groupdocs.signature.options.sign.SignOptions, com.groupdocs.signature.options.sign.ImageSignOptions

public class StampSignOptions extends ImageSignOptions

Represents the Stamp signature options.

Constructors

Constructor Description
StampSignOptions() Initializes a new instance of the StampSignOptions class with default values.
StampSignOptions(int left, int top, int width, int height) Initializes a new instance of the StampSignOptions class with alignment options.

Methods

Method Description
getStampType() Gets or sets stamp type.
setStampType(StampType value) Gets or sets stamp type.
getOuterLines() List of Outer Lines rendered as concentric circles.
getInnerLines() List of Inner Lines rendered as set of rectangles.
getBackground() Gets or sets the Stamp background.
setBackground(Background value) Gets or sets the Stamp background.
getBackgroundColor() Gets or sets the background color of signature.
setBackgroundColor(Color value) Gets or sets the background color of signature.
getBackgroundBrush() Gets or sets the signature background brush.
setBackgroundBrush(Brush value) Gets or sets the signature background brush.
getBackgroundColorCropType() Gets or sets the background color crop type of signature.
setBackgroundColorCropType(int value) Gets or sets the background color crop type of signature.
getBackgroundImageCropType() Gets or sets the background image crop type of signature.
setBackgroundImageCropType(int value) Gets or sets the background image crop type of signature.
toString() Override string conversion

StampSignOptions()

public StampSignOptions()

Initializes a new instance of the StampSignOptions class with default values.

StampSignOptions(int left, int top, int width, int height)

public StampSignOptions(int left, int top, int width, int height)

Initializes a new instance of the StampSignOptions class with alignment options.

Parameters:

Parameter Type Description
left int The x-coordinate of the left top edge of Stamp Signature
top int The y-coordinate of the left top edge of Stamp Signature
width int The width of Stamp Signature
height int The height of Stamp Signature

getStampType()

public final StampType getStampType()

Gets or sets stamp type. Value by default is Round.

Returns: StampType

setStampType(StampType value)

public final void setStampType(StampType value)

Gets or sets stamp type. Value by default is Round.

Parameters:

Parameter Type Description
value StampType

getOuterLines()

public final List<StampLine> getOuterLines()

List of Outer Lines rendered as concentric circles.

Returns: java.util.List<com.groupdocs.signature.domain.stamps.StampLine>

getInnerLines()

public final List<StampLine> getInnerLines()

List of Inner Lines rendered as set of rectangles.

Returns: java.util.List<com.groupdocs.signature.domain.stamps.StampLine>

getBackground()

public final Background getBackground()

Gets or sets the Stamp background.

Returns: Background

setBackground(Background value)

public final void setBackground(Background value)

Gets or sets the Stamp background.

Parameters:

Parameter Type Description
value Background

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

getBackgroundBrush()

public final Brush getBackgroundBrush()

Gets or sets the signature background brush. Value by default is null.

Returns: Brush

setBackgroundBrush(Brush value)

public final void setBackgroundBrush(Brush value)

Gets or sets the signature background brush. Value by default is null.

Parameters:

Parameter Type Description
value Brush

getBackgroundColorCropType()

public final int getBackgroundColorCropType()

Gets or sets the background color crop type of signature.

Returns: int

setBackgroundColorCropType(int value)

public final void setBackgroundColorCropType(int value)

Gets or sets the background color crop type of signature.

Parameters:

Parameter Type Description
value int

getBackgroundImageCropType()

public final int getBackgroundImageCropType()

Gets or sets the background image crop type of signature.

Returns: int

setBackgroundImageCropType(int value)

public final void setBackgroundImageCropType(int value)

Gets or sets the background image crop type of signature.

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Override string conversion

Returns: java.lang.String -