ArcFeature

@Stable
data class ArcFeature<T : Any>(val space: CoordinateSpace<T>, val oval: Rectangle<T>, val startAngle: Angle, val arcLength: Angle, val attributes: Attributes = Attributes.EMPTY) : DraggableFeature<T>

Parameters

startAngle

the angle from 3 o'clock downwards for the start of the arc in radians

arcLength

arc length in radians

Constructors

Link copied to clipboard
constructor(space: CoordinateSpace<T>, oval: Rectangle<T>, startAngle: Angle, arcLength: Angle, attributes: Attributes = Attributes.EMPTY)

Properties

Link copied to clipboard
val arcLength: Angle
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
Link copied to clipboard
open override val space: CoordinateSpace<T>
Link copied to clipboard
val startAngle: Angle
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>