new XY
Determine either the X or Y coordinate of a point.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
A |
string | |||
what |
String |
<optional> |
'X' | Feasible values are X and Y. If another value is given or this parameter is not given at all it falls back to X. |
- Source:
- value.js, line 303
Extends
Members
-
class :String
-
Classname of the object the current instance is created from.
- Source:
- assessor.js, line 37
-
expanded :Boolean
-
A flag to indicate this is an actual instance.
- Default Value:
- true
- Source:
- assessor.js, line 28
-
namespace :String
-
The namespace the class is in or null if the class is defined directly in the main namespace.
- Source:
- assessor.js, line 35
-
parameters :String
-
JSON string representing the constructor parameters as elements of an array.
- Source:
- assessor.js, line 49
-
point :String
-
The point which coordinate is to be measure.
- Source:
- value.js, line 310
-
what :String
-
The oordinate we are measuring.
- Source:
- value.js, line 316
Methods
-
choose
-
Returns a list of possible fixtures for elements that are not fixed yet within the given fixtures.
Parameters:
Name Type Description elements
Assessor.ElementList fixtures
Assessor.FixtureList - Source:
- value.js, line 40
Returns:
- Type
- Array
-
evaluate
-
Evaluates this value.
Parameters:
Name Type Description elements
Assessor.ElementList fixtures
Assessor.FixtureList - Source:
- value.js, line 30
Returns:
- Type
- Number
-
toJSON
-
Generates a JSON representation of this object that can be used to restore it.
- Source:
- assessor.js, line 57
Returns:
- Type
- String