ImageDrawer

class ImageDrawer(config: DrawConfig, containerModifier: (Boolean) -> Modifier? = { null }, onDragStart: () -> Unit, onDragStop: () -> Unit, onSelected: (Boolean, Int) -> Unit, mergeRequest: (Action.Merge) -> Unit = { }, onDelete: (Action.DeleteStory) -> Unit) : StoryStepDrawer

Draws a image. Uses Coil to parse the image.

Constructors

Link copied to clipboard
constructor(config: DrawConfig, containerModifier: (Boolean) -> Modifier? = { null }, onDragStart: () -> Unit, onDragStop: () -> Unit, onSelected: (Boolean, Int) -> Unit, mergeRequest: (Action.Merge) -> Unit = { }, onDelete: (Action.DeleteStory) -> Unit)

Functions

Link copied to clipboard
open override fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo