Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/constraint
ConstraintSolver
Class ConstraintSolver
Hierarchy
ConstraintSolver
Implements
ConstraintScope
Index
Constructors
constructor
Methods
add
Constraint
add
Variable
constraint
did
Add
Constraint
did
Add
Variable
did
Remove
Constraint
did
Remove
Variable
did
Set
Variable
State
has
Constraint
has
Variable
remove
Constraint
remove
Variable
set
Variable
State
update
Variables
variable
will
Add
Constraint
will
Add
Variable
will
Remove
Constraint
will
Remove
Variable
will
Set
Variable
State
Constructors
constructor
new
Constraint
Solver
(
)
:
ConstraintSolver
Returns
ConstraintSolver
Methods
add
Constraint
add
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
add
Variable
add
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
constraint
constraint
(
lhs
:
Constrain
|
number
, relation
:
ConstraintRelation
, rhs
?:
Constrain
|
number
, strength
?:
AnyConstraintStrength
)
:
Constraint
Parameters
lhs:
Constrain
|
number
relation:
ConstraintRelation
Optional
rhs:
Constrain
|
number
Optional
strength:
AnyConstraintStrength
Returns
Constraint
Protected
did
Add
Constraint
did
Add
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
Protected
did
Add
Variable
did
Add
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
Protected
did
Remove
Constraint
did
Remove
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
Protected
did
Remove
Variable
did
Remove
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
Protected
did
Set
Variable
State
did
Set
Variable
State
(
variable
:
ConstrainVariable
, state
:
number
)
:
void
Parameters
variable:
ConstrainVariable
state:
number
Returns
void
has
Constraint
has
Constraint
(
constraint
:
Constraint
)
:
boolean
Parameters
constraint:
Constraint
Returns
boolean
has
Variable
has
Variable
(
variable
:
ConstrainVariable
)
:
boolean
Parameters
variable:
ConstrainVariable
Returns
boolean
remove
Constraint
remove
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
remove
Variable
remove
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
set
Variable
State
set
Variable
State
(
variable
:
ConstrainVariable
, state
:
number
)
:
void
Parameters
variable:
ConstrainVariable
state:
number
Returns
void
update
Variables
update
Variables
(
)
:
void
Returns
void
variable
variable
(
name
:
string
, value
?:
undefined
|
number
, strength
?:
AnyConstraintStrength
)
:
ConstrainVariable
Parameters
name:
string
Optional
value:
undefined
|
number
Optional
strength:
AnyConstraintStrength
Returns
ConstrainVariable
Protected
will
Add
Constraint
will
Add
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
Protected
will
Add
Variable
will
Add
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
Protected
will
Remove
Constraint
will
Remove
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
Protected
will
Remove
Variable
will
Remove
Variable
(
variable
:
ConstrainVariable
)
:
void
Parameters
variable:
ConstrainVariable
Returns
void
Protected
will
Set
Variable
State
will
Set
Variable
State
(
variable
:
ConstrainVariable
, state
:
number
)
:
void
Parameters
variable:
ConstrainVariable
state:
number
Returns
void
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Constrain
Constrain
Binding
Constrain
Constant
Constrain
Product
Constrain
Sum
Constrain
Term
Constrain
Variable
Constraint
Constraint
Solver
constructor
add
Constraint
add
Variable
constraint
did
Add
Constraint
did
Add
Variable
did
Remove
Constraint
did
Remove
Variable
did
Set
Variable
State
has
Constraint
has
Variable
remove
Constraint
remove
Variable
set
Variable
State
update
Variables
variable
will
Add
Constraint
will
Add
Variable
will
Remove
Constraint
will
Remove
Variable
will
Set
Variable
State
Constraint
Scope
Any
Constraint
Strength
Constraint
Relation
Constraint
Strength
Constraint
Strength
Init
Constraint
Strength