curvature property

Curvature curvature
final

A Curvature is a description of the appearance of the actual surface of the decoration. A Curvature.flat decoration has no gradient (solid-color Gradient), while Curvature.convex orders a light -> dark gradient in a way that inspires a "bubble"-like appearance, especially when combined with a swell of Swell.emboss.

(Other options make the effect more extreme, namely Curvature.superconvex and Curvature.superconcave.)

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

The default is Curvature.flat, the result from which will be a solid-color (non-shaded) gradient.

Implementation

final Curvature curvature;