XYCanvasState

Constructors

Link copied to clipboard
constructor(config: ViewConfig<XY>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var canvasSize: DpSize
Link copied to clipboard
var selectRect: DpRect?
Link copied to clipboard
open override val space: CoordinateSpace<XY>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val zoom: Float

Functions

Link copied to clipboard
open override fun computeViewPoint(rectangle: Rectangle<XY>): ViewPoint<XY>
Link copied to clipboard
open override fun ViewPoint<XY>.moveBy(x: Dp, y: Dp): ViewPoint<XY>
Link copied to clipboard
fun toCoordinates(offset: Offset, density: Density): XY
open override fun DpOffset.toCoordinates(): XY
Link copied to clipboard
open override fun XY.toDpOffset(): DpOffset
Link copied to clipboard
open override fun Rectangle<XY>.toDpRect(): DpRect
Link copied to clipboard
fun toOffset(coordinates: XY, density: Density): Offset