public static final class DeviceApi.SignatureImage.ResizeOption extends Object
Modifier and Type | Method and Description |
---|---|
DeviceApi.SignatureImage.ResizeOption |
crop()
Crops the signature image to the bounding box, that is, the
smallest rectangular image that contains the whole signature
drawing.
|
DeviceApi.SignatureImage.ResizeOption |
embedIntoSignBackground()
Embeds the drawn signature into the image that has been set as
the signature background.
|
static DeviceApi.SignatureImage.ResizeOption |
get()
Gets the default resize option.
|
DeviceApi.SignatureImage.ResizeOption |
keepAspectRatio()
Resize the image to the requested size keeping aspect ratio.
|
DeviceApi.SignatureImage.ResizeOption |
stretch()
Stretches the image to the requested size, ignoring aspect ratio.
|
public static DeviceApi.SignatureImage.ResizeOption get()
public DeviceApi.SignatureImage.ResizeOption crop()
stretch()
or
keepAspectRatio()
.public DeviceApi.SignatureImage.ResizeOption stretch()
public DeviceApi.SignatureImage.ResizeOption keepAspectRatio()
public DeviceApi.SignatureImage.ResizeOption embedIntoSignBackground()
Copyright © 2024. All rights reserved.