VectorIconFeature

@Stable
data class VectorIconFeature<T : Any>(val space: CoordinateSpace<T>, val center: T, val size: DpSize, val image: ImageVector, val attributes: Attributes = Attributes.EMPTY) : MarkerFeature<T> , PainterFeature<T>

Fixed size vector icon

Constructors

Link copied to clipboard
constructor(space: CoordinateSpace<T>, center: T, size: DpSize, image: ImageVector, attributes: Attributes = Attributes.EMPTY)

Properties

Link copied to clipboard
open override val attributes: Attributes
Link copied to clipboard
open override val center: T
Link copied to clipboard
val Feature<*>.color: Color?
Link copied to clipboard
val image: ImageVector
Link copied to clipboard
Link copied to clipboard
val size: DpSize
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
@Composable
open override fun getPainter(): VectorPainter
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>