Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/constraint
ConstrainConstant
Class ConstrainConstant
Hierarchy
ConstrainTerm
ConstrainConstant
Implements
ConstraintKey
Debug
Index
Constructors
constructor
Accessors
coefficient
constant
terms
value
variable
Methods
debug
divide
is
Constant
minus
opposite
plus
times
to
String
constant
product
sum
zero
Constructors
constructor
new
Constrain
Constant
(
value
:
number
)
:
ConstrainConstant
Parameters
value:
number
Returns
ConstrainConstant
Accessors
coefficient
get
coefficient
(
)
:
number
Returns
number
constant
get
constant
(
)
:
number
Returns
number
terms
get
terms
(
)
:
ConstraintMap
<
ConstrainVariable
,
number
>
Returns
ConstraintMap
<
ConstrainVariable
,
number
>
value
get
value
(
)
:
number
Returns
number
variable
get
variable
(
)
:
ConstrainVariable
|
null
Returns
ConstrainVariable
|
null
Methods
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
divide
divide
(
scalar
:
number
)
:
Constrain
Parameters
scalar:
number
Returns
Constrain
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
Constrain
|
number
)
:
Constrain
Parameters
that:
Constrain
|
number
Returns
Constrain
opposite
opposite
(
)
:
ConstrainTerm
Returns
ConstrainTerm
plus
plus
(
that
:
Constrain
|
number
)
:
Constrain
Parameters
that:
Constrain
|
number
Returns
Constrain
times
times
(
scalar
:
number
)
:
Constrain
Parameters
scalar:
number
Returns
Constrain
to
String
to
String
(
)
:
string
Returns
string
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
constructor
coefficient
constant
terms
value
variable
debug
divide
is
Constant
minus
opposite
plus
times
to
String
constant
product
sum
zero
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