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