FMX.Filter.Effects.TFilterPencilStroke

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TFilterBaseFilterFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFilterPencilStroke

Delphi

TFilterPencilStroke = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterPencilStroke : public TFilterBaseFilter

Properties

Type Visibility Source Unit Parent
class public
FMX.Filter.Effects.pas
FMX.Filter.Effects.hpp
FMX.Filter.Effects FMX.Filter.Effects

Description

TFilterPencilStroke is a wrapper for TPencilStrokeEffect.

FMX.Filter.Effects.TFilterPencilStroke inherits from FMX.Filter.Effects.TPencilStrokeEffect. All content below this line refers to FMX.Filter.Effects.TPencilStrokeEffect.

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

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TPencilStrokeEffect.PNG

See Also

Code Examples