toggle menu
maps-kt
0.3.1-dev
common
switch theme
search in API
maps-kt-features
/
space.kscience.maps.features
/
LineFeature
Line
Feature
@
Stable
data
class
LineFeature
<
T
:
Any
>
(
val
space
:
CoordinateSpace
<
T
>
,
val
a
:
T
,
val
b
:
T
,
val
attributes
:
Attributes
=
Attributes.EMPTY
)
:
DomainFeature
<
T
>
,
LineSegmentFeature
<
T
>
Members
Members & Extensions
Constructors
Line
Feature
Link copied to clipboard
constructor
(
space
:
CoordinateSpace
<
T
>
,
a
:
T
,
b
:
T
,
attributes
:
Attributes
=
Attributes.EMPTY
)
Properties
a
Link copied to clipboard
val
a
:
T
attributes
Link copied to clipboard
open
override
val
attributes
:
Attributes
b
Link copied to clipboard
val
b
:
T
center
Link copied to clipboard
val
center
:
T
color
Link copied to clipboard
val
Feature
<
*
>
.
color
:
Color
?
name
Link copied to clipboard
val
Feature
<
*
>
.
name
:
String
?
space
Link copied to clipboard
open
override
val
space
:
CoordinateSpace
<
T
>
z
Link copied to clipboard
val
Feature
<
*
>
.
z
:
Float
zoom
Range
Link copied to clipboard
val
Feature
<
*
>
.
zoomRange
:
FloatRange
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
viewPoint
:
ViewPoint
<
T
>
)
:
Boolean
get
Bounding
Box
Link copied to clipboard
open
override
fun
getBoundingBox
(
zoom
:
Float
)
:
Rectangle
<
T
>
with
Attributes
Link copied to clipboard
open
override
fun
withAttributes
(
modify
:
(
Attributes
)
->
Attributes
)
:
Feature
<
T
>