Rectangle.resize Method

Module: Rectangle

Definition

Applies a scale factor to the rectangle.

resize(self, scale_factor: float) -> None

Parameters

scale_factor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Devices Library execution.
void resize(double scaleFactor)

Parameters

scaleFactor double
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Devices Library execution.
public void Resize(float scaleFactor)

Parameters

scaleFactor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Devices Library execution.
public void resize(float scaleFactor) throws DevicesException

Parameters

scaleFactor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesRectangle_Resize (
    ID3_DEVICES_RECTANGLE hRectangle,
    float scaleFactor)

Parameters

in Handle to the Rectangle object.

scaleFactor float
in Scale factor to apply to the rectangle.

Returns

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