ImageEn, unit imageenview

TImageEnView.SelectionRounding

TImageEnView.SelectionRounding


Declaration

property SelectionRounding: Integer;


Description

Specifies whether miSelect creates a rounded rectangular selection.
If SelectionRounding is > 0, then miSelect creates a rectangular selection with the corners rounded by the specified pixels.

Note:
 The selection rounding will be scaled by Zoom
 To create selections of other shapes, use SelectionShape

Default: 0


Examples

// Allow user to create rounded rect selections
ImageEnView1.SelectionRounding := 30;
ImageEnView1.MouseInteractGeneral := [miSelect];


// Allow user to create rectangular selections
ImageEnView1.SelectionRounding := 0;
ImageEnView1.MouseInteractGeneral := [miSelect];


See Also

 SelectRoundRect
 MouseInteractGeneral