Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

FMXGlass

Glass overlays to apply effects to portions of the underlying form.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

FMXGlass

Glass overlays to apply effects to portions of the underlying form.

Inspired by & based on the the answer on StackOverflow by Eric.

TGlass paints itself with what it covers on its parents (like it is transparent, but it actually contains what it covers).

The TGlass desendents then apply an effect.

This allows applying an effect to a portion of a form, including multiple controls.

Currently Blur and Pixelate are implemented, more will follow.

Has a crude caching mechanism to only apply the effect if the parent image changes.

Ignores other instances of TGlass if they are stacked.