ImageEn, unit imageenview |
|
TImageEnView.SetSelectionGripStyle
Declaration
procedure SetSelectionGripStyle(BorderColor: TColor = clBlack; FillColor: TColor = clWhite; BrushStyle: TBrushStyle = bsSolid; Size: integer = 5; ExtendedGrips: boolean = true; Shape: TIEShape = iesEllipse); overload;
procedure SetSelectionGripStyle(GripStyle: TIEGripStyle); overload;
Description
Specifies the appearance of selection grips.
Parameter | Description | Default |
BorderColor | Grip border color | clBlack |
FillColor | Grip brush color | $9DF5FF - Pale Yellow |
BrushStyle | Grip Brush style | bsSolid |
Size | Radius of the grip in pixels | 5 |
ExtendedGrips | If true, side grips are drawn for rectangular selections (instead of just corner grips) and corner grips are drawn for elliptical and polygonal selections (instead of just side grips) | true |
Shape | Shape of grip | iesEllipse |
Use
GetSelectionGripStyle to retrieve the current values.
ImageEnView1.SetSelectionGripStyle( clWhite, clWhite, bsSolid, 5, true, iesEllipse );
See Also
◼SelColor1
◼SelColor2
Compatibility Notes
From v14.0.0, grip shapes are of the type
TIEShape, whereas previously they were a TIEGripShape. You should change iegsCircle to iesEllipse and iegsBox to iesRectangle.