Rectangle.clipInsideImage Method

Module: Rectangle

Definition

Clip a rectangle to be fully inside an image.

clip_inside_image(self, image_width: int, image_height: int) -> None

Parameters

image_width int
in Width of the image.

image_height int
in Height of the image.

Exceptions

An error has occurred during Finger Library execution.
void clipInsideImage(int imageWidth, int imageHeight)

Parameters

imageWidth int
in Width of the image.

imageHeight int
in Height of the image.

Exceptions

An error has occurred during Finger Library execution.
public void ClipInsideImage(int imageWidth, int imageHeight)

Parameters

imageWidth int
in Width of the image.

imageHeight int
in Height of the image.

Exceptions

An error has occurred during Finger Library execution.
public void clipInsideImage(int imageWidth, int imageHeight) throws FingerException

Parameters

imageWidth int
in Width of the image.

imageHeight int
in Height of the image.

Exceptions

An error has occurred during Finger Library execution.
public func clipInsideImage(imageWidth: Int32, imageHeight: Int32) throws

Parameters

imageWidth Int32
in Width of the image.

imageHeight Int32
in Height of the image.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerRectangle_ClipInsideImage (
    ID3_FINGER_RECTANGLE hRectangle,
    int imageWidth,
    int imageHeight)

Parameters

in Handle to the Rectangle object.

imageWidth int
in Width of the image.

imageHeight int
in Height of the image.

Returns

int
An error code.
See id3FingerError file for the list of possible error codes.