PixelMapFeature

data class PixelMapFeature<T : Any>(val space: CoordinateSpace<T>, val rectangle: Rectangle<T>, val pixelMap: Structure2D<Color?>, val attributes: Attributes = Attributes.EMPTY) : Feature<T>

A pixel map representation on the map/scheme. rectangle describes the boundary of the pixel map. pixelMap contained indexed color of pixels. Minimal indices correspond to bottom-left corner of the rectangle. Maximal indices - top-right.

Constructors

Link copied to clipboard
constructor(space: CoordinateSpace<T>, rectangle: Rectangle<T>, pixelMap: Structure2D<Color?>, attributes: Attributes = Attributes.EMPTY)

Properties

Link copied to clipboard
open override val attributes: Attributes
Link copied to clipboard
val Feature<*>.color: Color?
Link copied to clipboard
Link copied to clipboard
val pixelMap: Structure2D<Color?>
Link copied to clipboard
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 override fun getBoundingBox(zoom: Float): Rectangle<T>
Link copied to clipboard
open override fun withAttributes(modify: Attributes.() -> Attributes): Feature<T>