swell property

Swell swell
final

A Swell is an overall depiction of how the decoration appears in terms of being inset into the surface or extruded from it.

Each constant in the Swell enum has a description of how it affects various areas in its usage.

The default is Swell.emboss which make a visual foundation for an element to be clickable or not toggle in a toggleable scenario. Combines great with Curvature.flat or Curvature.convex for a bubble-like appearance.

The opposite would be Swell.deboss. This state gives a good impression (😏) that an element has been clicked or toggled on in a toggleable scenario. Combines great with Curvature.concave for an inset, popped bubble-wrap appearance.

The effect is made more dramatic by Swell.superemboss or Swell.superdeboss.

Implementation

final Swell swell;