WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
TextCommand
Class TextCommand
Index
Constructors
constructor
Properties
center
Point
target
Point
text
String
text
Height
color
dialog
Result
inserting
Preview
Callback
last
Alignment
Key
last
Text
Height
last
Font
Methods
main
start
DLG1
P3
DB1
Constructors
constructor
new
TextCommand
()
:
TextCommand
Returns
TextCommand
Properties
center
Point
centerPoint
:
Point2D
target
Point
targetPoint
:
Point2D
text
String
textString
:
string
text
Height
textHeight
:
number
color
color
:
number
dialog
Result
dialogResult
:
TextDataResult
inserting
Preview
Callback
insertingPreviewCallback
:
(
canvasPoint
:
Point2D
)
=>
void
Static
last
Alignment
Key
lastAlignmentKey
:
string
= "L"
Static
last
Text
Height
lastTextHeight
:
number
= 2
Static
last
Font
lastFont
:
string
= ''
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DLG1
DLG1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3
P3
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DB1
DB1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
center
Point
target
Point
text
String
text
Height
color
dialog
Result
inserting
Preview
Callback
last
Alignment
Key
last
Text
Height
last
Font
Methods
main
start
DLG1
P3
DB1
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...