shapeScaleMaterial property
Declare a double
shapeScaleMaterial (defaults 1.0
) that a 🌟 Surface
will utilize when rendering the Shape for 📚 SurfaceLayer.MATERIAL.
Because the 📚 MATERIAL
is smaller than the 📚 BASE
if there is 🔲 Peek.peek involved, the 📚 MATERIAL
Shape
may require
"scaling" to have corners that aesthetically fit within the 📚 BASE
Shape
-- that is unless baseCorners.radius
is set manually
from corners.radius for desired aesthetics, then default 1.0
is desired.
Without specifying baseCorners, easily scale the Shape for 📚 SurfaceLayer.MATERIAL with this value.
If a smaller, inset version of 📚 BASE
Shape
is considered 1.0
,
a value between 0.5 -> 1.0
may be desirable with non-negligible 🔲 peek
for the resultant Shape
will have a smaller
border/corner radius than the 📚 BASE
.
Implementation
final double shapeScaleMaterial;