FMX.Filter.Effects.TPencilStrokeEffect
Delphi
TPencilStrokeEffect = class(TImageFXEffect)
C++
class PASCALIMPLEMENTATION TPencilStrokeEffect : public TImageFXEffect
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Filter.Effects.pas FMX.Filter.Effects.hpp |
FMX.Filter.Effects | FMX.Filter.Effects |
Description
TPencilStrokeEffect is a class for creating an effect that sketches the texture of visual objects, so that they appear pencil drawn.
For further information, go to TImageFXEffect and FireMonkey Image Effects.
The size of the stroke with which TPencilStrokeEffect draws the sketch can be set through the BrushSize property.
The following table shows the result of the TPencilStrokeEffect effect on a .png picture, placed on a form (using a TImage object). The default value (BrushSize=5) is used to set the brush size.
No effect (original picture) | Result |
---|---|