Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/constraint
Constrain
Class Constrain
Hierarchy
Constrain
ConstrainTerm
ConstrainSum
Implements
ConstraintKey
Index
Constructors
constructor
Accessors
constant
terms
Methods
divide
is
Constant
minus
opposite
plus
times
constant
product
sum
zero
Constructors
constructor
new
Constrain
(
)
:
Constrain
Returns
Constrain
Accessors
constant
get
constant
(
)
:
number
Returns
number
terms
get
terms
(
)
:
ConstraintMap
<
ConstrainVariable
,
number
>
Returns
ConstraintMap
<
ConstrainVariable
,
number
>
Methods
Abstract
divide
divide
(
scalar
:
number
)
:
Constrain
Parameters
scalar:
number
Returns
Constrain
Abstract
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
Abstract
minus
minus
(
that
:
Constrain
|
number
)
:
Constrain
Parameters
that:
Constrain
|
number
Returns
Constrain
Abstract
opposite
opposite
(
)
:
Constrain
Returns
Constrain
Abstract
plus
plus
(
that
:
Constrain
|
number
)
:
Constrain
Parameters
that:
Constrain
|
number
Returns
Constrain
Abstract
times
times
(
scalar
:
number
)
:
Constrain
Parameters
scalar:
number
Returns
Constrain
Static
constant
constant
(
value
:
number
)
:
ConstrainConstant
Parameters
value:
number
Returns
ConstrainConstant
Static
product
product
(
coefficient
:
number
, variable
:
ConstrainVariable
)
:
ConstrainProduct
Parameters
coefficient:
number
variable:
ConstrainVariable
Returns
ConstrainProduct
Static
sum
sum
(
...
args
:
(
number
|
Constrain
)
[]
)
:
ConstrainSum
Parameters
Rest
...
args:
(
number
|
Constrain
)
[]
Returns
ConstrainSum
Static
zero
zero
(
)
:
ConstrainConstant
Returns
ConstrainConstant
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
constructor
constant
terms
divide
is
Constant
minus
opposite
plus
times
constant
product
sum
zero
Constrain
Binding
Constrain
Constant
Constrain
Product
Constrain
Sum
Constrain
Term
Constrain
Variable
Constraint
Constraint
Solver
Constraint
Scope
Any
Constraint
Strength
Constraint
Relation
Constraint
Strength
Constraint
Strength
Init
Constraint
Strength