Preparing search index...
The search index is not available
HarmonyNEXT地图SDK
HarmonyNEXT地图SDK
map
LineStyle
Class LineStyle
Index
Constructors
constructor
Properties
bm
Line
Style
color
width
stroke
Width
stroke
Color
texture
Option
Methods
set
Color
set
Stroke
Color
set
Width
set
Stroke
Width
set
Bitmap
Resource
set
Texture
Option
Constructors
constructor
new
Line
Style
(
)
:
LineStyle
Returns
LineStyle
Properties
bm
Line
Style
bm
Line
Style
:
default
color
color
:
ColorString
= Color.Black
width
width
:
number
= 1
stroke
Width
stroke
Width
:
number
= 1
stroke
Color
stroke
Color
:
ColorString
= Color.White
texture
Option
texture
Option
:
number
= TextureOption.REPEAT
Methods
set
Color
set
Color
(
argb
)
:
void
设置线段纹理的颜色
Parameters
argb
:
ColorString
Returns
void
set
Stroke
Color
set
Stroke
Color
(
argb
)
:
void
Parameters
argb
:
ColorString
Returns
void
set
Width
set
Width
(
width
)
:
void
设置线段的宽度
Parameters
width
:
number
Returns
void
set
Stroke
Width
set
Stroke
Width
(
width
)
:
void
Parameters
width
:
number
Returns
void
set
Bitmap
Resource
set
Bitmap
Resource
(
bitmapDescriptor
)
:
Promise
<
void
>
设置线段纹理资源
Parameters
bitmapDescriptor
:
ImageEntity
Returns
Promise
<
void
>
set
Texture
Option
set
Texture
Option
(
option
)
:
void
设置线段纹理类型
Parameters
option
:
TextureOption
Returns
void
Settings
Theme
OS
Light
Dark
On This Page
constructor
bm
Line
Style
color
width
stroke
Width
stroke
Color
texture
Option
set
Color
set
Stroke
Color
set
Width
set
Stroke
Width
set
Bitmap
Resource
set
Texture
Option
HarmonyNEXT地图SDK
Loading...
设置线段纹理的颜色