ScalableImageFeature
data class ScalableImageFeature<T : Any>(val space: CoordinateSpace<T>, val rectangle: Rectangle<T>, val attributes: Attributes = Attributes.EMPTY, val painter: @Composable () -> Painter) : Feature<T> , PainterFeature<T>
An image that is bound to coordinates and is scaled (and possibly warped) together with them
Parameters
rectangle
the size of background in scheme size units. The screen units to scheme units ratio equals scale.
Constructors
Link copied to clipboard
constructor(space: CoordinateSpace<T>, rectangle: Rectangle<T>, attributes: Attributes = Attributes.EMPTY, painter: @Composable () -> Painter)