TextPinEntry¶
Summary¶
MakiIcon要素
Hideconstructor¶
Memberof¶
mapray.PinEntity
Extends¶
AbstractPinEntry<TextPinEntryProps>
Constructors¶
new TextPinEntry()¶
new TextPinEntry(
owner,text,position,props):TextPinEntry
Parameters¶
| Parameter | Type | Description |
|---|---|---|
owner |
PinEntity |
所有者 |
text |
string |
テキスト |
position |
GeoPoint |
位置 |
props |
TextPinEntryOption |
プロパティ |
Returns¶
Overrides¶
Properties¶
_icon?¶
protectedoptional_icon:IconLoaderItem
Inherited from¶
_owner¶
protected_owner:PinEntity
Inherited from¶
_props¶
protected_props:TextPinEntryProps
Inherited from¶
textIconLoader¶
statictextIconLoader:TextIconLoader
Accessors¶
animation¶
getanimation():BindingBlock
Returns¶
bg_color¶
getbg_color():Vector3
アイコン背景色
Returns¶
fg_color¶
getfg_color():Vector3
アイコン色
Returns¶
font_family¶
getfont_family():string
Summary¶
フォントファミリー
Package¶
Returns¶
string
icon¶
geticon():undefined|IconLoaderItem
Returns¶
undefined | IconLoaderItem
id¶
getid():string
ID
Returns¶
string
position¶
getposition():GeoPoint
位置
Returns¶
size¶
getsize():Vector2
アイコンサイズ (Pixels)
Returns¶
Methods¶
_loadIcon()¶
_loadIcon():
void
Returns¶
void
Inherited from¶
draw()¶
draw(
context,x,y,width,height):void
Parameters¶
| Parameter | Type |
|---|---|
context |
CanvasRenderingContext2D |
x |
number |
y |
number |
width |
number |
height |
number |
Returns¶
void
Inherited from¶
isLoaded()¶
isLoaded():
undefined|boolean
Returns¶
undefined | boolean
Inherited from¶
setBGColor()¶
setBGColor(
color):void
アイコン背景の色を設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
color |
Vector3 |
アイコン背景の色 |
Returns¶
void
Inherited from¶
setFGColor()¶
setFGColor(
color):void
アイコンの色を設定
Parameters¶
| Parameter | Type |
|---|---|
color |
Vector3 |
Returns¶
void
Inherited from¶
setPosition()¶
setPosition(
position):void
モデル原点位置を設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
position |
GeoPoint |
モデル原点の位置 |
Returns¶
void
Inherited from¶
setSize()¶
setSize(
size):void
アイコンのピクセルサイズを指定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
size |
Vector2 |
アイコンのピクセルサイズ |
Returns¶
void
Inherited from¶
setText()¶
setText(
text):void
テキストを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
text |
string |
テキスト |
Returns¶
void