Rectangle.extend Method

Module: Rectangle

Definition

Extends the rectangle by an amount in pixels on each side. Use on aligned rectangle only.

extend(self, horizontal_extent: int, vertical_extent: int) -> None

Parameters

horizontal_extent int
in Extent on the top and bottom.

vertical_extent int
in Extent on the left and right.

Exceptions

An error has occurred during Devices Library execution.
void extend(int horizontalExtent, int verticalExtent)

Parameters

horizontalExtent int
in Extent on the top and bottom.

verticalExtent int
in Extent on the left and right.

Exceptions

An error has occurred during Devices Library execution.
public void Extend(int horizontalExtent, int verticalExtent)

Parameters

horizontalExtent int
in Extent on the top and bottom.

verticalExtent int
in Extent on the left and right.

Exceptions

An error has occurred during Devices Library execution.
public void extend(int horizontalExtent, int verticalExtent) throws DevicesException

Parameters

horizontalExtent int
in Extent on the top and bottom.

verticalExtent int
in Extent on the left and right.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesRectangle_Extend (
    ID3_DEVICES_RECTANGLE hRectangle,
    int horizontalExtent,
    int verticalExtent)

Parameters

in Handle to the Rectangle object.

horizontalExtent int
in Extent on the top and bottom.

verticalExtent int
in Extent on the left and right.

Returns

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