From RAD Studio API Documentation
Jump to: navigation, search



TFilterTiler = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterTiler : public TFilterBaseFilter


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


TFilterTiler is a wrapper for TTilerEffect.

FMX.Filter.Effects.TFilterTiler inherits from FMX.Filter.Effects.TTilerEffect. All content below this line refers to FMX.Filter.Effects.TTilerEffect.

TTilerEffect is a class for creating an effect that tiles the texture of visual objects across multiple rows and columns.

For further information, go to TImageFXEffect and FireMonkey Image Effects.

The number of rows and columns can be set through the HorizontalTileCount and VerticalTileCount properties. The vertical and horizontal offsets of each tile can be set through the VerticalOffset and HorizontalOffset properties.

The size of a tile is determined by the number of columns and rows in which the original size of the texture is split. The texture is resized to fit the dimensions of a tile, without preserving the ratio.

The following table shows the result of the TTilerEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). The default values (HorizontalTileCount=3, VerticalTileCount=4, VerticalOffset=0, HorizontalOffset=0 ) are used for the TTilerEffect properties.

No effect (original picture) Result

FireMonkey logo NoEffects.PNG

FireMonkey logo TTilerEffect.PNG

See Also

Code Examples