JavaScript must be enabled in order for you to use JSXGraph and JSXGraph reference. However, it seems JavaScript is either disabled or not supported by your browser.

Class Index | File Index

Elements

Classes


Element Grid

JXG.GeometryElement
   ↳ JXG.Curve
         ↳ Grid

Creates a grid to support the user with element placement.

Defined in: Composition.js.
Extends JXG.Curve.

Element Summary
Constructor Attributes Constructor Name and Description
 
A grid is a set of vertical and horizontal lines to support the user with element placement.
Element Detail
Grid
A grid is a set of vertical and horizontal lines to support the user with element placement. This method draws such a grid on the given board. It uses options given in JXG.Options#grid. This method does not take any parent elements. It is usually instantiated on the board's creation via the attribute grid set to true.
Throws:
{Error}
If the element cannot be constructed with the given parent objects an exception is thrown.
Examples:
grid = board.create('grid', []);

				
                

Attributes borrowed from other Elements
Attributes borrowed from class JXG.Curve:
curveType, handDrawing
Attributes borrowed from class JXG.GeometryElement:
dash, draft, fillColor, fillOpacity, fixed, frozen, highlight, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, needsRegularUpdate, shadow, strokeColor, strokeOpacity, strokeWidth, trace, traceAttributes, visible, withLabel

Fields borrowed from other Elements
Fields borrowed from class JXG.Curve:
numberPoints
Fields borrowed from class JXG.GeometryElement:
addEvent, ancestors, baseElement, board, childElements, descendants, dump, elementClass, elType, eventHandlers, getAttribute, hasLabel, highlighted, id, isDraggable, isReal, methodMap, mouseover, name, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, stdform, subs, symbolic, traces, transformations, type, visProp

Methods borrowed from other Elements
Methods borrowed from class JXG.Curve:
addTransform, allocatePoints, generateTerm, hasPoint, isDistOK, isSegmentOutside, maxX, minX, notifyParents, setPosition, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateRenderer, updateTransform, X, Y, Z
Methods borrowed from class JXG.GeometryElement:
_set, addChild, addDescendants, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, generatePolynomial, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, labelColor, noHighlight, normalize, off, on, prepareUpdate, remove, resolveShortcuts, setArrow, setAttribute, setDash, setLabelText, setProperty, setStraight, showElement, triggerEventHandlers
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Apr 02 2012 18:34:26 GMT+0200 (MESZ)