CurvatureUtils extension
Properties to extend the utility of enum Curvature.
- on
Properties
- degree → Degree
-
A Degree is a simple description of whether something is "standard" or
"super". In terms of Curvature, either
superconcave
orsuperconvex
returns Degree.SUPER. Otherwise returns Degree.STANDARD.no setter
Methods
-
colorList(
Color color, {required Swell swell, required int depth}) → List< Color> -
Provide a required
color
from whichthis
Curvature may generate a correspondingList<Color>
. Thedepth
of the effect is a required int. A lowerdepth
fades the object more into its background, while a larger one will set the object more apart by contrast.