ImageEn, unit imageenview |
|
TImageEnView.SelectRoundRect
Declaration
procedure SelectRoundRect(Left, Top, Right, Bottom, RoundWidth, RoundHeight: integer; Op: TIESelOp = iespReplace);
Description
Creates a rectangular selection with rounded corners.
Left, Top, Right, Bottom are the rectangle coordinates.
RoundWidth and
RoundHeight specify the size of the rounding (in pixels).
Op specifies whether to add a new selection (
iespAdd) or replace the current one (
iespReplace).
The style of selection are specified by:
◼SelColor1
◼SelColor2
◼SetSelectionGripStyle
Note:
◼SelectRoundRect 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 rounded rectangular selection by enabling
SelectionRounding
ImageEnView1.SelectRoundRect(100, 100, 250, 250, 20, 20);
Other Selection Methods
◼Select
◼SelectEllipse
◼SelectMagicWand
◼SelectChromaKey
◼SelectShape
See Also
◼InvertSelection
◼Deselect