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 or superconvex 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 which this Curvature may generate a corresponding List<Color>. The depth of the effect is a required int. A lower depth fades the object more into its background, while a larger one will set the object more apart by contrast.