getSelectionRectAspectRatio()

Description

Gets the aspect ratio to be used when you select a rectangle on an image to select an area with the mouse. The ratio is width to height.

Syntax

ImageViewerObject.ui.getSelectionRectAspectRatio();

Return value

<float>

If it fails to get the ratio, it returns null.

Remarks

The default value is 0.

See also

ui.setSelectionRectAspectRatio()

Is this page helpful?

Leave a Reply

Your email address will not be published.