Scoop API

scoop:scoop.ui.style:0.1.0

Theme

interface Theme

source · line 7
public
public interface Theme

Resource-free theme data and geometry. Implementations do not access UI or business state.

function checkboxGeometry

source · line 28
public
public fun checkboxGeometry(bounds: Rect, visual: CheckboxVisual = CheckboxVisual(), options: CheckboxOptions = checkboxOptions(), direction: LayoutDirection = LayoutDirection.Ltr): CheckboxGeometry

function surfaceGeometry

source · line 18
public
public fun surfaceGeometry(bounds: Rect, visual: SurfaceVisual = SurfaceVisual(), options: SurfaceOptions = surfaceOptions(), direction: LayoutDirection = LayoutDirection.Ltr): SurfaceGeometry

property preferences

source · line 10
public
public val preferences: ThemePreferences

get: public read-only

Preferences already applied to this immutable theme, including component defaults.