Vertex Viewer SDK
Preparing search index...
Viewer
Drawable
Class Drawable<T>
Abstract
Type Parameters
T
extends
DrawablePoints
=
DrawablePoints
Index
Constructors
constructor
Properties
disabled
draw
fill
Color?
identifier
initial
Fill
Color?
outline
Color
points
shape
Props
Methods
update
Fill
Color
update
Outline
Color
update
Points
Constructors
constructor
new
Drawable
<
T
extends
DrawablePoints
=
DrawablePoints
>
(
createShape
:
CreateShape
,
identifier
:
string
,
points
:
T
,
outlineColor
:
string
,
fillColor
?:
string
,
shapeProps
?:
Partial
<
ShapeProps
>
,
disabled
?:
boolean
,
)
:
Drawable
<
T
>
Type Parameters
T
extends
DrawablePoints
=
DrawablePoints
Parameters
createShape
:
CreateShape
identifier
:
string
points
:
T
outlineColor
:
string
Optional
fillColor
:
string
shapeProps
:
Partial
<
ShapeProps
>
= {}
disabled
:
boolean
= false
Returns
Drawable
<
T
>
Properties
disabled
disabled
:
boolean
= false
draw
draw
:
DrawShape
Optional
fill
Color
fillColor
?:
string
identifier
identifier
:
string
Optional
initial
Fill
Color
initialFillColor
?:
string
outline
Color
outlineColor
:
string
points
points
:
T
shape
Props
shapeProps
:
Partial
<
ShapeProps
>
= {}
Methods
update
Fill
Color
updateFillColor
(
color
?:
string
|
Color
.
Color
,
isInitialColor
?:
boolean
)
:
void
Parameters
Optional
color
:
string
|
Color
.
Color
isInitialColor
:
boolean
= false
Returns
void
update
Outline
Color
updateOutlineColor
(
color
?:
string
|
Color
.
Color
)
:
void
Parameters
Optional
color
:
string
|
Color
.
Color
Returns
void
update
Points
updatePoints
(
points
?:
T
)
:
void
Parameters
Optional
points
:
T
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
disabled
draw
fill
Color
identifier
initial
Fill
Color
outline
Color
points
shape
Props
Methods
update
Fill
Color
update
Outline
Color
update
Points
Vertex Viewer SDK
Loading...