Package-level declarations

Types

Link copied to clipboard
@Immutable
class BorderColors(val normal: Color, val focused: Color, val disabled: Color)
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class GenerateDataFunctions

Instructs the Poko compiler plugin to generate equals, hashcode, and toString functions for the class it's attached to.

Link copied to clipboard
@Immutable
class GlobalColors(val borders: BorderColors, val outlines: OutlineColors, val infoContent: Color, val paneBackground: Color)
Link copied to clipboard
@Immutable
class GlobalMetrics(val outlineWidth: Dp, val rowHeight: Dp)
Link copied to clipboard
@Immutable
class OutlineColors(val focused: Color, val focusedWarning: Color, val focusedError: Color, val warning: Color, val error: Color)
Link copied to clipboard
sealed class Stroke

Properties

Link copied to clipboard
val LocalGlobalColors: ProvidableCompositionLocal<GlobalColors>
Link copied to clipboard
val LocalGlobalMetrics: ProvidableCompositionLocal<GlobalMetrics>

Functions

Link copied to clipboard

Enables the new compositing strategy for rendering directly into Swing Graphics. This fixes z-order problems and artifacts on resizing, but has a performance penalty when using infinitely repeating animations.

Link copied to clipboard
fun Stroke(width: Dp, brush: Brush, alignment: Stroke.Alignment, expand: Dp = Dp.Unspecified): Stroke
fun Stroke(width: Dp, color: Color, alignment: Stroke.Alignment, expand: Dp = Dp.Unspecified): Stroke