ImageEn, unit imageenview |
|
TImageEnView.BrushShowPropertiesDialog
TImageEnView.BrushShowPropertiesDialog
Declaration
function BrushShowPropertiesDialog(ApplyAll: Boolean = False): Boolean;
Description
Display the Brush Properties dialog which allows the user to change settings for the brush of the current interaction tool.
Properties will be displayed for:
◼BrushTool if
MouseInteractGeneral is miBrushTool
◼RetouchTool if
MouseInteractGeneral is miRetouchTool
◼CloneTool if
MouseInteractGeneral is miCloneTool
If ApplyAll is true, then relevant options specified in the dialog will be applied to all three of these interaction tools (e.g. all three tools will be given the specified brush size).
Note: You can customize the dialog using
OnShowDialog
| Demos\ImageEditing\BrushTool\PaintBrush.dpr |
// Show brush properties dialog
ImageEnView1.MouseInteractGeneral := [miBrushTool];
ImageEnView1.BrushShowPropertiesDialog();
// Show retouch brush properties dialog
ImageEnView1.MouseInteractGeneral := [miRetouchTool];
ImageEnView1.BrushShowPropertiesDialog();
// Show clone brush properties dialog
ImageEnView1.MouseInteractGeneral := [miCloneTool];
ImageEnView1.BrushShowPropertiesDialog();
// Show brush properties dialog
ImageEnView1. := [miBrushTool];
ImageEnView1.BrushShowPropertiesDialog();
See Also
◼MouseInteractGeneral
◼BrushTool
◼RetouchTool
◼CloneTool