@fimagine/writeboard
Preparing search index...
DefaultFactory
Class DefaultFactory
接口:工厂
Export
IFactory
Implements
IFactory
Index
Constructors
constructor
Properties
resizer
rotator
Accessors
type
Methods
font
Families
font
Name
new
Id
new
Layer
new
Layer
Id
new
Layer
Name
new
Shape
new
Shape
Data
new
Shapes
Mgr
new
Tool
new
White
Board
new
Z
overbound
set
Shape
Template
shape
Decoration
shape
Template
Constructors
constructor
new
DefaultFactory
()
:
DefaultFactory
Returns
DefaultFactory
Properties
resizer
resizer
:
IResizerInfo
= ...
rotator
rotator
:
IRotatorInfo
= ...
Accessors
type
get
type
()
:
FactoryType
Returns
FactoryType
Methods
font
Families
fontFamilies
()
:
string
[]
Returns
string
[]
font
Name
fontName
(
fontFamily
:
string
)
:
string
Parameters
fontFamily
:
string
Returns
string
new
Id
newId
(
data
:
IShapeData
)
:
string
Parameters
data
:
IShapeData
Returns
string
new
Layer
newLayer
(
inits
?:
Partial
<
ILayerInits
>
)
:
Layer
Parameters
Optional
inits
:
Partial
<
ILayerInits
>
Returns
Layer
new
Layer
Id
newLayerId
()
:
string
Returns
string
new
Layer
Name
newLayerName
()
:
string
Returns
string
new
Shape
newShape
(
shapeType
:
ShapeType
)
:
Shape
Parameters
shapeType
:
ShapeType
Returns
Shape
newShape
(
shapeData
:
IShapeData
)
:
Shape
Parameters
shapeData
:
IShapeData
Returns
Shape
new
Shape
Data
newShapeData
(
shapeType
:
ShapeType
)
:
ShapeData
Parameters
shapeType
:
ShapeType
Returns
ShapeData
new
Shapes
Mgr
newShapesMgr
()
:
IShapesMgr
Returns
IShapesMgr
new
Tool
newTool
(
toolType
:
string
)
:
ITool
Parameters
toolType
:
string
Returns
ITool
new
White
Board
newWhiteBoard
(
options
:
BoardOptions
)
:
Board
Parameters
options
:
BoardOptions
Returns
Board
new
Z
newZ
(
data
:
IShapeData
)
:
number
Parameters
data
:
IShapeData
Returns
number
overbound
overbound
(
_
:
Shape
<
ShapeData
>
)
:
number
Parameters
_
:
Shape
<
ShapeData
>
Returns
number
set
Shape
Template
setShapeTemplate
(
type
:
ShapeType
,
template
:
ShapeData
)
:
void
Parameters
type
:
ShapeType
template
:
ShapeData
Returns
void
shape
Decoration
shapeDecoration
(
_
:
Shape
<
ShapeData
>
)
:
IShapeDecoration
Parameters
_
:
Shape
<
ShapeData
>
Returns
IShapeDecoration
shape
Template
shapeTemplate
(
type
:
ShapeType
)
:
ShapeData
Parameters
type
:
ShapeType
Returns
ShapeData
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
resizer
rotator
Accessors
type
Methods
font
Families
font
Name
new
Id
new
Layer
new
Layer
Id
new
Layer
Name
new
Shape
new
Shape
Data
new
Shapes
Mgr
new
Tool
new
White
Board
new
Z
overbound
set
Shape
Template
shape
Decoration
shape
Template
@fimagine/writeboard
Loading...
接口:工厂
Export
IFactory