ImageEn, unit iexUserInteractions

TIERetouchToolInteraction.PencilSketchDensity

TIERetouchToolInteraction.PencilSketchDensity


Declaration

var PencilSketchDensity: Double;


Description

Specify the density of drawn lines of the pencil sketch (how much lines are drawn in the textures). Suggested range is 0.25 to 1.

For more information: PencilSketch

Note: iermPencilSketch can be very slow and requires a lot of memory

Default: 0.5


Example


Example

// Apply a gray-scale pencil sketch effect to brushed areas
ImageEnView1.RetouchTool.RetouchMode         := iermPencilSketch;
ImageEnView1.RetouchTool.PencilSketchGray    := True;
ImageEnView1.RetouchTool.PencilSketchLevels  := 3;
ImageEnView1.RetouchTool.PencilSketchThickness := 1.4;
ImageEnView1.RetouchTool.PencilSketchAlpha   := 0.2;
ImageEnView1.RetouchTool.PencilSketchDensity := 0.8;
ImageEnView1.MouseInteractGeneral            := [ miRetouchTool ];


See Also

 PencilSketchAlpha
 PencilSketchGray
 PencilSketchLevels
 PencilSketchThickness