function renderPreview
source · line 10public
public fun DragSourceStart.renderPreview(bounds: Rect, draw: (Canvas) -> Unit): DragPreview
Extension receiver: DragSourceStart
Draws a native preview in source-local coordinates at the current display scale.
parameter bounds
source · line 10public
bounds: Rect
parameter draw
source · line 10public
draw: (Canvas) -> Unit
parameter receiver
source · line 10public
DragSourceStart