DrawFeature

data class DrawFeature<T : Any>(val space: CoordinateSpace<T>, val position: T, val attributes: Attributes = Attributes.EMPTY, val drawFeature: DrawScope.() -> Unit) : DraggableFeature<T>

Constructors

Link copied to clipboard
constructor(space: CoordinateSpace<T>, position: T, attributes: Attributes = Attributes.EMPTY, drawFeature: DrawScope.() -> Unit)

Properties

Link copied to clipboard
open override val attributes: Attributes
Link copied to clipboard
val Feature<*>.color: Color?
Link copied to clipboard
val drawFeature: DrawScope.() -> Unit
Link copied to clipboard
Link copied to clipboard
val position: T
Link copied to clipboard
open override val space: CoordinateSpace<T>
Link copied to clipboard
val Feature<*>.z: Float
Link copied to clipboard

Functions

Link copied to clipboard
open operator fun contains(viewPoint: ViewPoint<T>): Boolean
Link copied to clipboard
open override fun getBoundingBox(zoom: Float): Rectangle<T>
Link copied to clipboard
open override fun withAttributes(modify: (Attributes) -> Attributes): Feature<T>
Link copied to clipboard
open override fun withCoordinates(newCoordinates: T): Feature<T>