WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
StretchCommand
Class StretchCommand
Index
Constructors
constructor
Properties
view
center
Point
target
Point
base
Point
World
second
Point
World
selection
Set
move
Selection
Set
stretch
Selection
Set
stretch
Bounds
stretch
Preview
Callback
Methods
main
start
P1
P2
P3
stretch
Entities
With
Undo
Constructors
constructor
new
StretchCommand
()
:
StretchCommand
Returns
StretchCommand
Properties
view
view
:
any
center
Point
centerPoint
:
Point2D
target
Point
targetPoint
:
Point2D
base
Point
World
basePointWorld
:
Point2D
second
Point
World
secondPointWorld
:
Point2D
selection
Set
selectionSet
:
any
[]
move
Selection
Set
moveSelectionSet
:
any
[]
stretch
Selection
Set
stretchSelectionSet
:
any
[]
stretch
Bounds
stretchBounds
:
any
stretch
Preview
Callback
stretchPreviewCallback
:
(
canvasPoint
:
Point2D
)
=>
void
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1
P1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2
P2
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3
P3
()
:
Promise
<
void
>
Returns
Promise
<
void
>
stretch
Entities
With
Undo
stretchEntitiesWithUndo
(
entities
:
any
[]
,
basePoint
:
Point2D
,
targetPoint
:
Point2D
,
bounds
:
any
,
)
:
void
Parameters
entities
:
any
[]
basePoint
:
Point2D
targetPoint
:
Point2D
bounds
:
any
Returns
void
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
view
center
Point
target
Point
base
Point
World
second
Point
World
selection
Set
move
Selection
Set
stretch
Selection
Set
stretch
Bounds
stretch
Preview
Callback
Methods
main
start
P1
P2
P3
stretch
Entities
With
Undo
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...