setKeepAspectRatioEnabled

abstract fun setKeepAspectRatioEnabled(keepAspectRatio: Boolean)

Forces selection to keep/not keep aspect ratio. When false - resizing annotation is free and aspect ratio is not maintained. When true - resizing annotation will keep aspect ratio.

Note: image annotations keep aspect ratio regardless.

Parameters

keepAspectRatio

True when aspect ratio should be kept when resizing.