toggle menu
MapLibre Native Android
11.0.0
androidJvm
switch theme
search in API
MapLibre Native Android
/
org.maplibre.android.style.types
/
FormattedSection
Formatted
Section
open
class
FormattedSection
A component of the
Formatted
.
Members
Constructors
Formatted
Section
Link copied to clipboard
constructor
(
@
NonNull
text
:
String
)
Creates a formatted section.
constructor
(
@
NonNull
text
:
String
,
@
Nullable
fontScale
:
Number
,
@
Nullable
fontStack
:
Array
<
String
>
,
@
Nullable
textColor
:
String
)
Creates a formatted section.
constructor
(
@
NonNull
text
:
String
,
@
Nullable
fontScale
:
Number
,
@
Nullable
fontStack
:
Array
<
String
>
)
Creates a formatted section.
constructor
(
@
NonNull
text
:
String
,
@
Nullable
fontScale
:
Number
)
Creates a formatted section.
constructor
(
@
NonNull
text
:
String
,
@
Nullable
fontStack
:
Array
<
String
>
)
Creates a formatted section.
Properties
font
Scale
Link copied to clipboard
@get:
Nullable
open
var
fontScale
:
Number
font
Stack
Link copied to clipboard
@get:
Nullable
open
var
fontStack
:
Array
<
String
>
text
Link copied to clipboard
@get:
NonNull
open
val
text
:
String
text
Color
Link copied to clipboard
open
var
textColor
:
String
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
set
Text
Color
Link copied to clipboard
open
fun
setTextColor
(
@
ColorInt
textColor
:
Int
)
Set the text color.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String