Class Index | File Index

Classes


Namespace JXG


Defined in: loadjsxgraphInOneFile.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
JXG
JSXGraph namespace.
Field Summary
Field Attributes Field Name and Description
<static>  
JXG.elements
Contains lpointers to the various displays.
<static>  
JXG.exists
Checks if a given variable is neither undefined nor null.
<static>  
Parser helper routines.
<static>  
JXG.getRef
This is just a shortcut to JXG.getReference.
Method Summary
Method Attributes Method Name and Description
<static>  
This function returns the AbstractRenderer object which defines the interface between the renderer objects and the logical parts of JSXGraph.
<static>  
JXG.addEvent(obj, type, fn, owner)
Adds an event listener to a DOM element.
<static>  
JXG.bind(fn, owner)
Generates a function which calls the function fn in the scope of owner.
<static>  
JXG.capitalize(str)
Makes a string lower case except for the first character which will be upper case.
<static>  
JXG.Chart(board, parents, attributes)
Chart plotting input array:
<static>  
JXG.checkAttributes(attributes, defaults)
Checks an attributes object and fills it with default values if there are properties missing.
<static>  
JXG.checkParents(parents, expects)
Checks given parents array against expectations.
<static>  
Setting visPropOld is done in an none object oriented version since otherwise there would be problems in cloneToBackground
<static>  
JXG.clone(obj)
This outputs an object with a base class reference to the given object.
<static>  
JXG.cloneAndCopy(obj, obj2)
Embeds an existing object into another one just like #clone and copies the contents of the second object to the new one.
<static>  
JXG.createAngle(board, parents, attributes)
Creates a new angle.
<static>  
JXG.createCentroid(board, parents, attributes)
Creates a new centroid point using three points and the given attributes.
<static>  
JXG.createCircumcircleArc(board, parents, attributes)
Creates a new circumcircle arc through three defining points.
<static>  
JXG.createCircumcircleSector(board, parents, attributs)
Creates a new circumcircle sector through three defining points.
<static>  
JXG.createEvalFunction(board, param, n)
Convert a String, a number or a function into a function.
<static>  
JXG.createFunction(term, board, variableName, evalGeonext)
Convert a String, number or function into a function.
<static>  
JXG.createGroup(board, parents, attributes)
Groups points.
<static>  
JXG.createNode(tagName)
<static>  
JXG.createNumeric(board, parents, attributs)
Creates a new element of type numeric.
<static>  
JXG.createSemicircle(board, parents, attributes)
TODO: Documentation of those two elements below are to be written like the one above for ARC.
<static>  
JXG.createSpline(board, parents, attributes)
TODO Create a dynamic spline interpolated curve given by sample points p_1 to p_n.
<static>  
JXG.createTicks(board, parents, attributs)
Creates new ticks.
<static>  
JXG.createTriangle(board, parents, attributes)
Creates a new triangle using three points and the given attributes.
<static>  
JXG.createTurtle(board, parents, attributs)
Creates a new turtle
<static>  
JXG.debug(s)
Add something to the debug log.
<static>  
JXG.deepCopy(obj)
Creates a deep copy of an existing object, i.e.
<static>  
JXG.escapeHTML(str)
Replaces all occurences of & by &amp;, > by &gt;, and < by &lt;.
<static>  
JXG.getDimensions(elementId)
Reads the width and height of an HTML element.
<static>  
JXG.getOffset(obj)
Calculates recursively the offset of the DOM element in which the board is stored.
<static>  
JXG.getPosition(e)
Cross browser mouse coordinates retrieval relative to the board's top left corner.
<static>  
JXG.getReference(board, s)
s may be a string containing the name or id of an element or even a reference to the element itself.
<static>  
JXG.getStyle(obj, stylename)
Access CSS style sheets.
<static>  
JXG.hsv2rgb(H, S, V)
Converts HSV color to RGB color.
<static>  
JXG.isArray(v)
Checks if a given variable references an array.
<static>  
JXG.isFunction(v)
Checks if a given variable references a function.
<static>  
JXG.isNumber(v)
Checks if the value of a given variable is of type number.
<static>  
JXG.isPoint(v)
Checks if a given variable is a reference of a JSXGraph Point element.
<static>  
JXG.isString(v)
Checks if the value of a given variable is of type string.
<static>  
JXG.keys(object, onlyOwn)
Extracts the keys of a given object.
<static>  
JXG.Legend(board, coords, attributes)
Legend for chart
<static>  
JXG.LMS2rgb(l, m, s)
Convert color information from LMS to RGB color space.
<static>  
JXG.loadOptionsFromFile(fileurl, apply, board)
Load options from a file using FileReader
<static>  
JXG.parseOptionsString(text, apply, board)
Apply options given as a string to a board.
<static>  
JXG.readOption(options, element, key)
Reads the configuration parameter of an attribute of an element from a JXG.Options object
<static>  
JXG.removeEvent(obj, type, fn, owner)
Removes an event listener from a DOM element.
<static>  
JXG.rgb2bw(color)
Decolorizes the given color.
<static>  
JXG.rgb2cb(color, deficiency)
Decolorizes the given color.
<static>  
JXG.rgb2css()
Returns output of JXG.rgbParser as a CSS styled rgb() string.
<static>  
JXG.rgb2hex()
Returns array returned by JXG.rgbParser as a HTML rgb string.
<static>  
JXG.rgb2hsv(r, g, b)
Converts r, g, b color to h, s, v.
<static>  
JXG.rgb2LMS(r, g, b)
Convert RGB color information to LMS color space.
<static>  
JXG.rgbParser()
Converts a valid HTML/CSS color string into a rgb value array.
<static>  
JXG.simulateColorBlindness(board, deficiency)
Converts the colors of the elements to how a color blind person would approximately see it.
<static>  
JXG.str2Bool(s)
Converts a string containing either true or false into a boolean value.
<static>  
Detect browser support for SVG.
<static>  
Detect browser support for VML.
<static>  
JXG.timedChunk(items, process, context, callback)
Process data in timed chunks.
<static>  
JXG.toJSON(obj)
Converts a JavaScript object into a JSON string.
<static>  
JXG.trim(str)
Remove all leading and trailing whitespaces from a given string.
<static>  
JXG.trimNumber(str)
Make numbers given as strings nicer by removing all unnecessary leading and trailing zeroes.
<static>  
JXG.unescapeHTML(str)
Eliminates all substrings enclosed by < and > and replaces all occurences of &amp; by &, &gt; by >, and &lt; by <.
<static>  
Converts all color values to greyscale and calls useStandardOption to put them onto the board.
<static>  
JXG.useStandardOptions(board)
Apply the options stored in this object to all objects on the given board.
Namespace Detail
JXG
JSXGraph namespace. Holds all classes, objects, functions and variables belonging to JSXGraph to reduce the risc of interfering with other JavaScript code.
Field Detail
<static> JXG.elements
Contains lpointers to the various displays.
Defined in: Chart.js.

<static> {Boolean} JXG.exists
Checks if a given variable is neither undefined nor null. You should not use this together with global variables!
Defined in: jsxgraph.js.

<static> JXG.GeonextParser
Parser helper routines. The methods in here are for parsing expressions in Geonext Syntax.
Defined in: GeonextParser.js.

<static> JXG.getRef
This is just a shortcut to JXG.getReference.
Defined in: jsxgraph.js.
Method Detail
<static> {Object} JXG.AbstractRenderer()
This function returns the AbstractRenderer object which defines the interface between the renderer objects and the logical parts of JSXGraph.
Defined in: AbstractRenderer.js.
Returns:
{Object} An instance of the AbstractRenderer class.
See:
JXG.SVGRenderer
JXG.VMLRenderer
JXG.CanvasRenderer

<static> JXG.addEvent(obj, type, fn, owner)
Adds an event listener to a DOM element.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
Reference to a DOM node.
{String} type
The event to catch, without leading 'on', e.g. 'mousemove' instead of 'onmousemove'.
{Function} fn
The function to call when the event is triggered.
{Object} owner
The scope in which the event trigger is called.

<static> {Function} JXG.bind(fn, owner)
Generates a function which calls the function fn in the scope of owner.
Defined in: jsxgraph.js.
Parameters:
{Function} fn
Function to call.
{Object} owner
Scope in which fn is executed.
Returns:
{Function} A function with the same signature as fn.

<static> {String} JXG.capitalize(str)
Makes a string lower case except for the first character which will be upper case.
Defined in: jsxgraph.js.
Parameters:
{String} str
Arbitrary string
Returns:
{String} The capitalized string.

<static> JXG.Chart(board, parents, attributes)
Chart plotting input array:
Defined in: Chart.js.
Parameters:
board
parents
attributes

<static> {Object} JXG.checkAttributes(attributes, defaults)
Checks an attributes object and fills it with default values if there are properties missing.
Defined in: jsxgraph.js.
Parameters:
{Object} attributes
{Object} defaults
Returns:
{Object} The given attributes object with missing properties added via the defaults object.

<static> {Array} JXG.checkParents(parents, expects)
Checks given parents array against expectations. To be implemented
Defined in: jsxgraph.js.
Parameters:
{Array} parents
A parents array
{Array} expects
TODO: describe this
Returns:
{Array} A new parents array prepared for the use within a create* method

<static> JXG.clearVisPropOld(el)
Setting visPropOld is done in an none object oriented version since otherwise there would be problems in cloneToBackground
Defined in: GeometryElement.js.
Parameters:
el

<static> {Object} JXG.clone(obj)
This outputs an object with a base class reference to the given object. This is useful if you need a copy of an e.g. attributes object and want to overwrite some of the attributes without changing the original object.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
Object to be embedded.
Returns:
{Object} An object with a base class reference to obj.

<static> {Object} JXG.cloneAndCopy(obj, obj2)
Embeds an existing object into another one just like #clone and copies the contents of the second object to the new one. Warning: The copied properties of obj2 are just flat copies.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
Object to be copied.
{Object} obj2
Object with data that is to be copied to the new one as well.
Returns:
{Object} Copy of given object including some new/overwritten data from obj2.

<static> {JXG.Angle} JXG.createAngle(board, parents, attributes)
Creates a new angle.
Defined in: Sector.js.
Parameters:
{JXG.Board} board
The board the angle is put on.
{Array} parents
Array of three points defining the angle.
{Object} attributes
Object containing properties for the element such as stroke-color and visibility. @see JXG.GeometryElement#setProperty
Returns:
Reference to the created angle object.

<static> {JXG.Point} JXG.createCentroid(board, parents, attributes)
Creates a new centroid point using three points and the given attributes.
Defined in: Centroid.js.
Parameters:
{JXG.Board} board
The board the triangle is put on.
{Array} parents
Array of three points defining the triangle.
{Object} attributes
Visual properties that are assigned to the constructed lines.
Returns:
An object of type JXG.Point;

<static> {JXG.Arc} JXG.createCircumcircleArc(board, parents, attributes)
Creates a new circumcircle arc through three defining points.
Defined in: Arc.js.
Parameters:
{JXG.Board} board
The board the arc is put on.
{Array} parents
Array of three points defining the circumcircle arc.
{Object} attributes
Object containing properties for the element such as stroke-color and visibility. See @see JXG.GeometryElement#setProperty
Returns:
{JXG.Arc} Reference to the created object.

<static> {JXG.Sector} JXG.createCircumcircleSector(board, parents, attributs)
Creates a new circumcircle sector through three defining points.
Defined in: Sector.js.
Parameters:
{JXG.Board} board
The board the sector is put on.
{Array} parents
Array of three points defining the circumcircle sector.
{Object} attributs
Object containing properties for the element such as stroke-color and visibility. See @see JXG.GeometryElement#setProperty
Returns:
Reference to the created arc object.

<static> {Function} JXG.createEvalFunction(board, param, n)
Convert a String, a number or a function into a function. This method is used in Transformation.js
Defined in: jsxgraph.js.
Parameters:
{JXG.Board} board
Reference to a JSXGraph board. It is required to resolve dependencies given by a GEONEXT string, thus it must be a valid reference only in case one of the param values is of type string.
{Array} param
An array containing strings, numbers, or functions.
n
Returns:
{Function} A function taking one parameter k which specifies the index of the param element to evaluate.

<static> {Function} JXG.createFunction(term, board, variableName, evalGeonext)
Convert a String, number or function into a function.
Defined in: jsxgraph.js.
Parameters:
term
A variable of type string, function or number.
{JXG.Board} board
Reference to a JSXGraph board. It is required to resolve dependencies given by a GEONEXT string, thus it must be a valid reference only in case one of the param values is of type string.
{String} variableName
Only required if evalGeonext is set to true. Describes the variable name of the variable in a GEONEXT string given as term.
{Boolean} evalGeonext
Set this true, if term should be treated as a GEONEXT string.
Returns:
{Function} A function evaluation the value given by term or null if term is not of type string, function or number.

<static> {JXG.Group} JXG.createGroup(board, parents, attributes)
Groups points.
Defined in: Group.js.
Parameters:
{JXG.Board} board
The board the points are on.
{Array} parents
Array of points to group.
{Object} attributes
Visual properties.
Returns:
An object of type JXG.Group.

<static> JXG.createNode(tagName)

Defined in: VMLRenderer.js.
Parameters:
tagName

<static> {numeric,function} JXG.createNumeric(board, parents, attributs)
Creates a new element of type numeric. The numeric element is a simple element which just stores a (dynamic) numeric value.
Defined in: SimpleElements.js.
Parameters:
{JXG.Board} board
The board the numeric value is assigned to.
{numeric|function} parents
A numeric value or a function returning a numeric value.
{Object} attributs
Object containing properties for the element such as stroke-color and visibility. See @see JXG.GeometryElement#setProperty
Returns:
Reference to the given function or value of the given numeric.

<static> {JXG.Arc} JXG.createSemicircle(board, parents, attributes)
TODO: Documentation of those two elements below are to be written like the one above for ARC. /** Creates a new semicircle. The semicircle is drawn clock-wise between the first and the second defining point.
Defined in: Arc.js.
Parameters:
{JXG.Board} board
The board the semicircle is put on.
{Array} parents
Array of two opposite points defining the semicircle.
{Object} attributes
Object containing properties for the element such as stroke-color and visibility. See @see JXG.GeometryElement#setProperty
Returns:
{JXG.Arc} Reference to the created object.

<static> {JXG.Curve} JXG.createSpline(board, parents, attributes)
TODO Create a dynamic spline interpolated curve given by sample points p_1 to p_n.
Defined in: Curve.js.
Parameters:
{JXG.Board} board
Reference to the board the spline is drawn on.
{Array} parents
Array of points the spline interpolates
{Object} attributes
Define color, width, ... of the spline
Returns:
Returns reference to an object of type JXG.Curve.

<static> {JXG.Ticks} JXG.createTicks(board, parents, attributs)
Creates new ticks.
Defined in: Ticks.js.
Parameters:
{JXG.Board} board
The board the ticks are put on.
{Array} parents
Array containing a line and an array of positions, where ticks should be put on that line or a function that calculates the distance based on the ticks number that is given as a parameter. E.g.:
var ticksFunc = function(i) {
return 2;
}
for ticks with distance 2 between each tick.
{Object} attributs
Object containing properties for the element such as stroke-color and visibility. See @see JXG.GeometryElement#setProperty
Returns:
Reference to the created ticks object.

<static> {Object} JXG.createTriangle(board, parents, attributes)
Creates a new triangle using three points and the given attributes.
Defined in: Triangle.js.
Parameters:
{JXG.Board} board
The board the triangle is put on.
{Array} parents
Array of three points defining the triangle.
{Object} attributes
Visual properties that are assigned to the constructed lines.
Returns:
An object with the following members:
TypeMember
JXG.PointA
JXG.PointB
JXG.PointC
JXG.Linea
JXG.Lineb
JXG.Linec
JXG.GroupG

<static> {JXG.Turtle} JXG.createTurtle(board, parents, attributs)
Creates a new turtle
Defined in: Turtle.js.
Parameters:
{JXG.Board} board
The board the turtle is put on.
{Array} parents
{Object} attributs
Object containing properties for the element such as stroke-color and visibility. See JXG.GeometryElement#setProperty
Returns:
Reference to the created turtle object.

<static> JXG.debug(s)
Add something to the debug log. If available a JavaScript debug console is used. Otherwise we're looking for a HTML div with id "debug". If this doesn't exist, too, the output is omitted.
Defined in: jsxgraph.js.
Parameters:
{String} s
A debug message.

<static> {Object} JXG.deepCopy(obj)
Creates a deep copy of an existing object, i.e. arrays or sub-objects are copied component resp. element-wise instead of just copying the reference.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
This object will be copied.
Returns:
{Object} Ccopy of obj.

<static> JXG.escapeHTML(str)
Replaces all occurences of & by &amp;, > by &gt;, and < by &lt;.
Defined in: jsxgraph.js.
Parameters:
str

<static> {Object} JXG.getDimensions(elementId)
Reads the width and height of an HTML element.
Defined in: jsxgraph.js.
Parameters:
{String} elementId
The HTML id of an HTML DOM node.
Returns:
{Object} An object with the two properties width and height.

<static> {Array} JXG.getOffset(obj)
Calculates recursively the offset of the DOM element in which the board is stored.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
A DOM element
Returns:
{Array} An array with the elements left and top offset.

<static> {Array} JXG.getPosition(e)
Cross browser mouse coordinates retrieval relative to the board's top left corner.
Defined in: jsxgraph.js.
Parameters:
{Object} e Optional
The browsers event object. If omitted, window.event will be used.
Returns:
{Array} Contains the position as x,y-coordinates in the first resp. second component.

<static> {Object} JXG.getReference(board, s)
s may be a string containing the name or id of an element or even a reference to the element itself. This function returns a reference to the element. Search order: id, name.
Defined in: jsxgraph.js.
Parameters:
{JXG.Board} board
Reference to the board the element belongs to.
{String} s
String or reference to a JSXGraph element.
Returns:
{Object} Reference to the object given in parameter object

<static> JXG.getStyle(obj, stylename)
Access CSS style sheets.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
A DOM element
{String} stylename
The CSS property to read.
Returns:
The value of the CSS property and undefined if it is not set.

<static> {string} JXG.hsv2rgb(H, S, V)
Converts HSV color to RGB color. Based on C Code in "Computer Graphics -- Principles and Practice," Foley et al, 1996, p. 593. See also http://www.efg2.com/Lab/Graphics/Colors/HSV.htm
Defined in: RGBColor.js.
Parameters:
{float} H
value between 0 and 360
{float} S
value between 0.0 (shade of gray) to 1.0 (pure color)
{float} V
value between 0.0 (black) to 1.0 (white)
Returns:
{string} RGB color string

<static> {Boolean} JXG.isArray(v)
Checks if a given variable references an array.
Defined in: jsxgraph.js.
Parameters:
v
A variable of any type.
Returns:
{Boolean} True, if v is of type array.

<static> {Boolean} JXG.isFunction(v)
Checks if a given variable references a function.
Defined in: jsxgraph.js.
Parameters:
v
A variable of any type.
Returns:
{Boolean} True, if v is a function.

<static> {Boolean} JXG.isNumber(v)
Checks if the value of a given variable is of type number.
Defined in: jsxgraph.js.
Parameters:
v
A variable of any type.
Returns:
{Boolean} True, if v is of type number.

<static> {Boolean} JXG.isPoint(v)
Checks if a given variable is a reference of a JSXGraph Point element.
Defined in: jsxgraph.js.
Parameters:
v
A variable of any type.
Returns:
{Boolean} True, if v is of type JXG.Point.

<static> {Boolean} JXG.isString(v)
Checks if the value of a given variable is of type string.
Defined in: jsxgraph.js.
Parameters:
v
A variable of any type.
Returns:
{Boolean} True, if v is of type string.

<static> {Array} JXG.keys(object, onlyOwn)
Extracts the keys of a given object.
Defined in: jsxgraph.js.
Parameters:
object
The object the keys are to be extracted
onlyOwn
If true, hasOwnProperty() is used to verify that only keys are collected the object owns itself and not some other object in the prototype chain.
Returns:
{Array} All keys of the given object.

<static> JXG.Legend(board, coords, attributes)
Legend for chart
Defined in: Chart.js.
Parameters:
board
coords
attributes

<static> {Object} JXG.LMS2rgb(l, m, s)
Convert color information from LMS to RGB color space.
Defined in: RGBColor.js.
Parameters:
{number} l
Amount of l value.
{number} m
Amount of m value.
{number} s
Amount of s value.
Returns:
Hashmap containing the r, g, b values.

<static> JXG.loadOptionsFromFile(fileurl, apply, board)
Load options from a file using FileReader
Defined in: Options.js.
Parameters:
fileurl
{String} URL to .json-file containing style information
apply
{bool} true when options in file should be applied to board after being loaded.
board
{JXG.Board} The board the options should be applied to.

<static> JXG.parseOptionsString(text, apply, board)
Apply options given as a string to a board.
Defined in: Options.js.
Parameters:
text
{String} Options given as a string in .json-Format
apply
{bool} true if the options should be applied to all objects on the board.
board
{JXG.Board} The board the options should be applied to.

<static> JXG.readOption(options, element, key)
Reads the configuration parameter of an attribute of an element from a JXG.Options object
Defined in: jsxgraph.js.
Parameters:
{JXG.Options} options
Reference to an instance of JXG.Options. You usually want to use the options property of your board.
{String} element
The name of the element which options you wish to read, e.g. 'point' or 'elements' for general attributes.
{String} key
The name of the attribute to read, e.g. 'strokeColor' or 'withLabel'
Returns:
The value of the selected configuration parameter.
See:
JXG.Options

<static> JXG.removeEvent(obj, type, fn, owner)
Removes an event listener from a DOM element.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
Reference to a DOM node.
{String} type
The event to catch, without leading 'on', e.g. 'mousemove' instead of 'onmousemove'.
{Function} fn
The function to call when the event is triggered.
{Object} owner
The scope in which the event trigger is called.

<static> {String} JXG.rgb2bw(color)
Decolorizes the given color.
Defined in: Options.js.
Parameters:
{String} color
HTML string containing the HTML color code.
Returns:
Returns a HTML color string

<static> {String} JXG.rgb2cb(color, deficiency)
Decolorizes the given color.
Defined in: Options.js.
Parameters:
{String} color
HTML string containing the HTML color code.
{String} deficiency
The type of color blindness. Possible options are protanopia, deuteranopia, and tritanopia.
Returns:
Returns a HTML color string

<static> JXG.rgb2css()
Returns output of JXG.rgbParser as a CSS styled rgb() string.
Defined in: RGBColor.js.

<static> JXG.rgb2hex()
Returns array returned by JXG.rgbParser as a HTML rgb string.
Defined in: RGBColor.js.

<static> {Object} JXG.rgb2hsv(r, g, b)
Converts r, g, b color to h, s, v. See http://zach.in.tu-clausthal.de/teaching/cg1_0708/folien/13_color_3_4up.pdf for more information.
Defined in: RGBColor.js.
Parameters:
{number} r
Amount of red in color. Number between 0 and 255.
{number} g
Amount of green. Number between 0 and 255.
{number} b
Amount of blue. Number between 0 and 255.
Returns:
Hashmap containing h,s, and v field.

<static> {Object} JXG.rgb2LMS(r, g, b)
Convert RGB color information to LMS color space.
Defined in: RGBColor.js.
Parameters:
{number} r
Amount of red in color. Number between 0 and 255.
{number} g
Amount of green. Number between 0 and 255.
{number} b
Amount of blue. Number between 0 and 255.
Returns:
Hashmap containing the L, M, S cone values.

<static> {Array} JXG.rgbParser()
Converts a valid HTML/CSS color string into a rgb value array. This is the base function for the following wrapper functions which only adjust the output to different flavors like an object, string or hex values.
Defined in: RGBColor.js.
Returns:
{Array} RGB color values as an array [r, g, b] which component's are between 0 and 255.

<static> JXG.simulateColorBlindness(board, deficiency)
Converts the colors of the elements to how a color blind person would approximately see it. Possible options are protanopia, deuteranopia, and tritanopia.
Defined in: Options.js.
Parameters:
{JXG.Board} board
The board to which objects the options will be applied.
{string} deficiency
The type of deficiency which will be simulated.
See:
#useStandardOptions

<static> {Boolean} JXG.str2Bool(s)
Converts a string containing either true or false into a boolean value.
Defined in: jsxgraph.js.
Parameters:
{String} s
String containing either true or false.
Returns:
{Boolean} String typed boolean value converted to boolean.

<static> {Boolean} JXG.supportsSVG()
Detect browser support for SVG.
Defined in: jsxgraph.js.
Returns:
{Boolean}

<static> {Boolean} JXG.supportsVML()
Detect browser support for VML. The code in comments is from google maps. But it does not work in JSXGraph because in the moment of calling supportsVML() document.body is still undefined. Therefore, the more vulnerable test of navigator.appVersion is used. Update: In stackoverflow the test !!document.namespaces has been suggested.
Defined in: jsxgraph.js.
Returns:
{Boolean}

<static> JXG.timedChunk(items, process, context, callback)
Process data in timed chunks. Data which takes long to process, either because it is such a huge amount of data or the processing takes some time, causes warnings in browsers about irresponsive scripts. To prevent these warnings, the processing is split into smaller pieces called chunks which will be processed in serial order. Copyright 2009 Nicholas C. Zakas. All rights reserved. MIT Licensed
Defined in: jsxgraph.js.
Parameters:
{Array} items
to do
{Function} process
Function that is applied for every array item
{Object} context
The scope of function process
{Function} callback
This function is called after the last array element has been processed.

<static> {String} JXG.toJSON(obj)
Converts a JavaScript object into a JSON string.
Defined in: jsxgraph.js.
Parameters:
{Object} obj
A JavaScript object, functions will be ignored.
Returns:
{String} The given object stored in a JSON string.

<static> {String} JXG.trim(str)
Remove all leading and trailing whitespaces from a given string.
Defined in: jsxgraph.js.
Parameters:
{String} str
Returns:
{String}

<static> {String} JXG.trimNumber(str)
Make numbers given as strings nicer by removing all unnecessary leading and trailing zeroes.
Defined in: jsxgraph.js.
Parameters:
{String} str
Returns:
{String}

<static> JXG.unescapeHTML(str)
Eliminates all substrings enclosed by < and > and replaces all occurences of &amp; by &, &gt; by >, and &lt; by <.
Defined in: jsxgraph.js.
Parameters:
str

<static> JXG.useBlackWhiteOptions(board)
Converts all color values to greyscale and calls useStandardOption to put them onto the board.
Defined in: Options.js.
Parameters:
{JXG.Board} board
The board to which objects the options will be applied.
See:
#useStandardOptions

<static> JXG.useStandardOptions(board)
Apply the options stored in this object to all objects on the given board.
Defined in: Options.js.
Parameters:
{JXG.Board} board
The board to which objects the options will be applied.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 26 2013 18:47:41 GMT+0100 (CET)