scoop:scoop.ui.style:0.1.0
scoop.ui.style
API
-
enum
Border
Physical and logical descriptions never share ambiguous edge names.
-
struct
BorderEdge
One inward edge in logical units.
-
struct
BorderEdges
Physical edges after direction has been resolved.
-
struct
BoxShadow
A shadow of the filled outer box, independent of its background and content.
- struct ChartPalette
- enum CheckMark
- class CheckboxGeometry
- struct CheckboxMetrics
- class CheckboxOptions
-
class
CheckboxOptionsBuilder
Mutable configuration; published values remain independent of later changes.
- class CheckboxPart
-
class
CheckboxPartBuilder
Mutable configuration initialized from a complete immutable value.
- struct CheckboxVisual
- struct Circle
- struct ColorPair
-
enum
ContentEffect
Ordered processing of the actual content alpha and color. Sigma is in local logical units.
-
enum
Corners
Directional corners are converted before entering graphics geometry.
-
struct
Insets
Physical edges in logical units, shared by geometry and control layout.
-
struct
InteractionVisual
Samples are optional; callers own animations and pass this frame's values.
- struct LogicalInsets
- class MarkerAppearance
-
class
MarkerAppearanceBuilder
Mutable configuration initialized from a complete immutable value.
-
struct
MarkerStateLayer
A circular interaction layer behind a selection marker, independent of its hit target.
-
struct
MarkerStateLayerGeometry
Resolved drawing data; the painter does not recalculate interaction or selection.
- enum MixedMarkShape
- enum MotionPreference
- enum Orientation
- struct OutlineRing
- struct OutlineStyle
- class RadioGeometry
- struct RadioMetrics
- class RadioOptions
-
class
RadioOptionsBuilder
Mutable configuration; published values remain independent of later changes.
- class RadioPart
-
class
RadioPartBuilder
Mutable configuration initialized from a complete immutable value.
- struct RadioVisual
- struct ScrollbarButtonGeometry
- class ScrollbarGeometry
- struct ScrollbarMetrics
- class ScrollbarOptions
-
class
ScrollbarOptionsBuilder
Mutable configuration; published values remain independent of later changes.
- class ScrollbarPart
-
class
ScrollbarPartBuilder
Mutable configuration initialized from a complete immutable value.
- enum ScrollbarRegion
- struct ScrollbarVisual
-
class
ShapeTheme
Shared algorithms for the four public parts; concrete themes supply all appearance choices.
-
class
ShapeThemeBuilder
Mutable configuration initialized from a complete immutable value.
- struct SidebarPalette
- struct StateColors
- struct StrokeSegment
-
class
Style
Reusable resource-free drawing inputs. Empty styles retain the same styled content identity.
-
class
StyleBuilder
Mutable configuration; published values remain independent of later changes.
- class StyleOverride
-
class
StyleOverrideBuilder
Mutable configuration; published values remain independent of later changes.
-
class
StylePainter
Owns just the current filters and outlines; register once in the using element's scope.
-
enum
StyleValue
Inherit is distinct from explicitly setting an optional property to None.
-
class
Styled
The wrapper exists even for an empty style, preserving the content's mount position.
- class StyledBuilder
- class StyledProps
- class SurfaceGeometry
- enum SurfaceKind
- enum SurfaceLayer
- struct SurfaceMetrics
- class SurfaceOptions
-
class
SurfaceOptionsBuilder
Mutable configuration; published values remain independent of later changes.
-
class
SurfacePart
Concrete descriptions shared by the shape-based themes and custom presets.
-
class
SurfacePartBuilder
Mutable configuration initialized from a complete immutable value.
- class SurfaceParts
-
class
SurfacePartsBuilder
Mutable configuration initialized from a complete immutable value.
- struct SurfaceVisual
- enum TextFieldTreatment
-
interface
Theme
Resource-free theme data and geometry. Implementations do not access UI or business state.
- struct ThemeCorners
- class ThemeEffects
-
class
ThemeEffectsBuilder
Mutable configuration initialized from a complete immutable value.
- enum ThemeMode
- class ThemeMotion
-
class
ThemeMotionBuilder
Mutable configuration initialized from a complete immutable value.
-
interface
ThemePainter
A reusable owner-thread resource. Each call synchronously borrows the ordinary Canvas.
-
class
ThemePainterCache
Own once in ComponentScope; returned painters are borrowed until the next replacement.
- class ThemePalette
-
class
ThemePaletteBuilder
Mutable configuration initialized from a complete immutable value.
-
struct
ThemePreferences
Effective display inputs, independent of an OS query, window or painter lifetime.
-
class
ThemeSource
Bind this stable source around the actual application run and mount entry points.
- struct ThemeSpacing
- class ThemeTokens
-
class
ThemeTokensBuilder
Mutable configuration initialized from a complete immutable value.
- class ThemeTypography
-
class
ThemeTypographyBuilder
Mutable configuration initialized from a complete immutable value.
-
function
checkboxOptions
Configures one immutable description without creating drawing or UI resources.
-
function
checkboxPart
Constructs a complete description and applies configuration once.
-
function
contrastThemeColors
Composite a color pair onto an opaque sRGB canvas and reach the requested contrast. Preserve a sufficient background; adjust it only when no foreground could meet the ratio. Channels must be finite and the minimum must be between 1 and 21, inclusive.
- function currentThemeSource
-
function
markerAppearance
Constructs a complete description and applies configuration once.
- function mixThemeColor
-
function
radioOptions
Configures one immutable description without creating drawing or UI resources.
-
function
radioPart
Constructs a complete description and applies configuration once.
-
function
read
Reads both the base theme and root preferences through their ordinary UI dependencies.
- function resolve
-
function
scrollbarOptions
Configures one immutable description without creating drawing or UI resources.
-
function
scrollbarPart
Constructs a complete description and applies configuration once.
-
function
shapeTheme
Constructs a complete description and applies configuration once.
-
function
style
Configures one immutable description without creating drawing or UI resources.
-
function
styleOverride
Configures one immutable description without creating drawing or UI resources.
- function styled
-
function
surfaceOptions
Configures one immutable description without creating drawing or UI resources.
-
function
surfacePart
Constructs a complete description and applies configuration once.
-
function
surfaceParts
Constructs a complete description and applies configuration once.
-
function
themeEffects
Constructs a complete description and applies configuration once.
-
function
themeMotion
Constructs a complete description and applies configuration once.
-
function
themeTokens
Constructs a complete description and applies configuration once.
-
function
themeTypography
Constructs a complete description and applies configuration once.
- function then