glass_painter library
The seam between the measured controls and the glass they are drawn with: what a MorphGlassPainter receives for each surface.
The controls describe every piece of glass as a MorphGlassSurface
(its outline, MorphGlassKind, MorphGlassOptics, touch
MorphGlassGlow and MorphGlassOutline); the package's own renderer
and any custom painter installed with MorphGlassScope shade those
descriptions. An app that uses the built-in glass, chosen by
MorphThemeData.glass, needs nothing from this library.
Classes
- MorphGlassGlow
- The glow a finger raises on a pressed glass surface, in one frame.
- MorphGlassOptics
- The refraction tuning UIKit gives a liquid lens.
- MorphGlassOutline
- The silhouette a control has fused some of its glass surfaces into.
- MorphGlassPainter
- Renders the glass surfaces of the measured controls.
- MorphGlassScope
- Installs a MorphGlassPainter for the measured controls below it.
- MorphGlassSurface
- One surface of a control in one frame, handed to a MorphGlassPainter.
Enums
- MorphGlassKind
- The role a surface plays in a control.