ImageEn, unit imageenview

TImageEnView.SetLayersGripStyle

TImageEnView.SetLayersGripStyle


Declaration

procedure SetLayersGripStyle(GripColor1: TColor = clBlack; GripColor2: TColor = clWhite; GripBrushStyle: TBrushStyle = bsSolid; GripSize: integer = 5; Shape: TIEGripShape = iegsCircle); overload;
procedure SetLayersGripStyle(GripStyle: TIEGripStyle); overload;


Description

Specifies the appearance of layers grips.
Parameter Description
GripColor1 Grip border color (Default: clBlack)
GripColor2 Grip brush color (Default: $9DF5FF - Pale Yellow)
GripBrushStyle Grip Brush style (Default: bsSolid)
GripSize Radius of the grip in pixels (Default: 5)
Shape Shape of grip (Default: iegsCircle)

Use GetLayersGripStyle to retrieve the current values.


Example

ImageEnView1.SetLayersGripStyle(clWhite, clWhite, bsSolid, 5, iegsCircle);


See Also

SetLayersBoxStyle
LayersDrawBox
TIELayer.VisibleBox
OnDrawLayerBox
OnDrawLayerGrip