ImageEn, unit imageenview

TImageEnView.SelectionShape

TImageEnView.SelectionShape


Declaration

property SelectionShape: TIEShape;


Description

Enables the creation of shaped selections with miSelect.
If SelectionShape is not iesRectangle then a polygonal selection is created by generating points using ImageEn's vector shapes.

Note: To create rounded rectanbgylar selections use SelectionRounding

Default: iesRectangle


Examples

// Allow explosion shaped selections
ImageEnView1.SelectionShape := iesExplosion;
ImageEnView1.MouseInteractGeneral := [ miSelect ];


// Allow user to create rectangular selections (Default)
ImageEnView1.SelectionShape := 0;
ImageEnView1.MouseInteractGeneral := [miSelect];


See Also

 SelectShape
 MouseInteractGeneral