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).
Note:
◼ 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
SelectionShapeExample
ImageEnView1.SelectShape( 100, 100, 250, 250, iesExplosion );
Other Selection Methods
◼ Select◼ SelectEllipse◼ SelectMagicWand◼ SelectChromaKey◼ SelectRoundRectSee Also
◼ InvertSelection◼ Deselect