Scoop API

scoop:scoop.ui.style:0.1.0

SurfacePart

class SurfacePart

source · line 161
public
public class SurfacePart internal constructor(
    public val metrics: SurfaceMetrics,
    public val fill: StateColors,
    public val border: StateColors,
    public val foreground: StateColors,
    public val focus: OutlineStyle,
    public val shadows: Array<BoxShadow> = [],
    /** None inherits shadows; an empty array removes the hover elevation. */
    public val hoverShadows: Array<BoxShadow>? = None
)

Concrete descriptions shared by the shape-based themes and custom presets.

property hoverShadows

source · line 169
public
public val hoverShadows: Array<BoxShadow>? = None

get: public read-only

None inherits shadows; an empty array removes the hover elevation.