Tool Settings
data class ToolSettings(val strokeColor: Color, val strokeWidth: Float, val strokeStyle: StrokeStyle, val cornerRadius: Float, val fillColor: Color?, val strokeEnabled: Boolean, val fontSize: Float, val fontFamilyKey: String, val textAlignment: TextAlignment)
Per-tool snapshot captured by State.toolMemory. Restored to State's top-level style fields when the user swaps back to a tool.
Constructors
Link copied to clipboard
constructor(strokeColor: Color, strokeWidth: Float, strokeStyle: StrokeStyle, cornerRadius: Float, fillColor: Color?, strokeEnabled: Boolean, fontSize: Float, fontFamilyKey: String, textAlignment: TextAlignment)