Package io. getstream. sketchbook
Types
Link copied to clipboard
data class PaintColorPaletteTheme(shape: Shape, itemSize: Dp, selectedItemSize: Dp, borderColor: Color, borderWidth: Dp)
Content copied to clipboard
A theme that has a collection parameters to customize PaintColorPalette.
Link copied to clipboard
SketchbookController interacts with Sketchbook and it allows you to control the canvas and all of the components with it.
Functions
Link copied to clipboard
@Composable
Content copied to clipboard
A color picker dialog to get a desired color from users.
Link copied to clipboard
@Composable
Content copied to clipboard
Basic color palette icon to show up color picker dialog and apply selected colors to SketchbookController. ColorPickerPaletteItem also can be used to header and footer for the PaintColorPalette.
Link copied to clipboard
@Composable
Content copied to clipboard
PaintColorPalette provides a list of color palette. With SketchbookController it will take and apply the selected color to the Sketchbook automatically.
Link copied to clipboard
Creates and remembers a SketchbookController on the current composer.
Link copied to clipboard
@Composable
Content copied to clipboard
Sketchbook is a canvas implementation to draw paths with custom properties.