ImageEn, unit imageenview |
|
TImageEnView.SelectShape
Declaration
procedure SelectShape(Left, Top, Right, Bottom: integer;
Shape: TIEShape; ShapeAngle: Integer = 0; ShapeModifier: Integer = 0;
Op: TIESelOp = iespReplace);
Description
Creates a polygonal selection using one of
ImageEn's vector shapes.
Left, Top, Right, Bottom are the selection bounds.
Shape specifies the selection shape, which can be modified using
ShapeModifier and
ShapeAngle.
Op specifies whether to add a new selection (
iespAdd) or replace the current one (
iespReplace).
The style of selection are specified by:
◼SelColor1◼SelColor2◼SetSelectionGripStyleNote:
◼SelectShape creates a "vectorized" selection (the selection will be made up of a series of lines and can be accessed via
PolySel)
◼You can allow your user to make a shaped selection by enabling
SelectionShapeImageEnView1.SelectShape( 100, 100, 250, 250, iesExplosion );
Other Selection Methods
◼Select◼SelectEllipse◼SelectMagicWand◼SelectChromaKey◼SelectRoundRectSee Also
◼InvertSelection◼Deselect