WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DLineCommand
Class DLineCommand
Index
Constructors
constructor
Properties
width
Methods
main
start
P1
P_
Width
P2
P3
P4
handle
Next
Point
handle
Keyword
undo
Last
Segment
close
Line
build
Butt
Lines
build
Square
Lines
build
Round
Arcs
Constructors
constructor
new
DLineCommand
()
:
DLineCommand
Returns
DLineCommand
Properties
Static
width
width
:
number
= 10
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1
P1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P_
Width
P_Width
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2
P2
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3
P3
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P4
P4
()
:
Promise
<
void
>
Returns
Promise
<
void
>
handle
Next
Point
handleNextPoint
(
nextPoint
:
Point2D
)
:
Promise
<
void
>
Parameters
nextPoint
:
Point2D
Returns
Promise
<
void
>
handle
Keyword
handleKeyword
(
keyword
:
string
)
:
Promise
<
void
>
Parameters
keyword
:
string
Returns
Promise
<
void
>
undo
Last
Segment
undoLastSegment
()
:
Promise
<
void
>
Returns
Promise
<
void
>
close
Line
closeLine
()
:
void
Returns
void
build
Butt
Lines
buildButtLines
()
:
LineEnt
[]
Returns
LineEnt
[]
build
Square
Lines
buildSquareLines
()
:
LineEnt
[]
Returns
LineEnt
[]
build
Round
Arcs
buildRoundArcs
()
:
ArcEnt
[]
Returns
ArcEnt
[]
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
width
Methods
main
start
P1
P_
Width
P2
P3
P4
handle
Next
Point
handle
Keyword
undo
Last
Segment
close
Line
build
Butt
Lines
build
Square
Lines
build
Round
Arcs
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...