Preparing search index...
The search index is not available
webcface
webcface
Canvas2DComponent
Class Canvas2DComponent
Hierarchy
IdBase
Canvas2DComponent
Index
Constructors
constructor
Accessors
color
fill
fill
Color
geometry
id
on
Click
origin
stroke
Width
text
text
Size
type
Methods
init
Idx
lock
Tmp
to2
to
Message
from
Message
Constructors
constructor
new
Canvas2DComponent
(
data
,
type
,
geometry
,
text
,
options
?
)
:
Canvas2DComponent
Parameters
data
:
null
|
ClientData
type
:
number
geometry
:
null
|
Geometry
text
:
string
Optional
options
:
Canvas2DComponentOption
Returns
Canvas2DComponent
Accessors
color
get
color
(
)
:
number
Returns
number
fill
get
fill
(
)
:
number
Returns
number
fill
Color
get
fillColor
(
)
:
number
Returns
number
geometry
get
geometry
(
)
:
Geometry
Returns
Geometry
id
get
id
(
)
:
string
Returns
string
on
Click
get
onClick
(
)
:
null
|
Func
クリック時に実行する関数
Returns
null
|
Func
origin
get
origin
(
)
:
Transform
Returns
Transform
stroke
Width
get
strokeWidth
(
)
:
number
Returns
number
text
get
text
(
)
:
string
Returns
string
text
Size
get
textSize
(
)
:
number
Returns
number
type
get
type
(
)
:
number
Returns
number
Methods
init
Idx
init
Idx
(
idxNext
,
type
)
:
void
Parameters
idxNext
:
Map
<
number
,
number
>
type
:
number
Returns
void
lock
Tmp
lock
Tmp
(
data
,
canvasName
,
idxNext
)
:
Canvas2DComponent
AnonymousFuncをFuncオブジェクトにロックする
Parameters
data
:
ClientData
canvasName
:
string
idxNext
:
Map
<
number
,
number
>
Returns
Canvas2DComponent
to2
to2
(
)
:
Canvas2DComponent
TemporalGeometry.to2() との互換性のため
Returns
Canvas2DComponent
to
Message
to
Message
(
)
:
Canvas2DComponent
Returns
Canvas2DComponent
Static
from
Message
from
Message
(
data
,
msg
,
idxNext
)
:
Canvas2DComponent
Parameters
data
:
null
|
ClientData
msg
:
Canvas2DComponent
idxNext
:
Map
<
number
,
number
>
Returns
Canvas2DComponent
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
color
fill
fill
Color
geometry
id
on
Click
origin
stroke
Width
text
text
Size
type
Methods
init
Idx
lock
Tmp
to2
to
Message
from
Message
webcface
Loading...
クリック時に実行する関数