ImageEn, unit imageenview

TImageEnView.AddSelBreak

TImageEnView.AddSelBreak


Declaration

procedure AddSelBreak();


Description

Ends the current selection and begins a new selection (creating multiple selections in the image).


Example

ImageEnView1.BeginSelect();

// Add two triangular selections
ImageEnView1.AddSelPoint( 200, 100 );
ImageEnView1.AddSelPoint( 300, 200 );
ImageEnView1.AddSelPoint( 100, 200 );

// Close first selection
ImageEnView1.AddSelBreak();

ImageEnView1.AddSelPoint( 200, 200 + 100 );
ImageEnView1.AddSelPoint( 300, 200 + 200 );
ImageEnView1.AddSelPoint( 100, 200 + 200 );

// Enact selections
ImageEnView1.EndSelect();


See Also

AddSelCurve
AddSelPoint
DelLastSelPoint
EndSelect
PolySel
PolySelPoints