State
constructor(elements: List<Element> = emptyList(), history: List<List<Element>> = emptyList(), future: List<List<Element>> = emptyList(), selectedIds: Set<String> = emptySet(), marqueeRect: Rect? = null, viewport: Viewport = Viewport(), tempPanActive: Boolean = false, strokeColor: Color = Color.Red, strokeWidth: Float = 10.0f, currentItemCornerRadius: Float = 0.0f, currentItemStrokeStyle: StrokeStyle = StrokeStyle.SOLID, currentItemFillColor: Color? = null, currentItemStrokeEnabled: Boolean = true, toolMemory: Map<Mode, ToolSettings> = emptyMap(), currentItemFontSize: Float = 24.0f, currentItemFontFamilyKey: String = DEFAULT_FONT_FAMILY_KEY, currentItemTextAlignment: TextAlignment = TextAlignment.LEFT, opacity: Float = 1.0f, bgColor: Color = Color.Black, bgPattern: BackgroundPattern? = null, mode: Mode = Mode.PEN, eraserSize: Float = 20.0f, erasingSessionDirty: Boolean = false)