Class Index | File Index

Classes


Class Grid


Extends JXG.Curve.
Creates a grid to support the user with element placement.
Defined in: Composition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Grid()
A grid is a set of vertical and horizontal lines to support the user with element placement.
Fields borrowed from class JXG.Curve:
curveType, handDrawing, numberPoints
Fields borrowed from class JXG.GeometryElement:
addEvent, ancestors, board, childElements, dash, descendants, draft, dump, elementClass, elType, eventHandlers, fillColor, fillOpacity, fixed, frozen, getAttribute, hasLabel, highlight, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, isDraggable, isReal, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, trace, traceAttributes, traces, transformations, type, visible, visProp, withLabel
Methods borrowed from class JXG.Curve:
addTransform, allocatePoints, generateTerm, hasPoint, isDistOK, isSegmentOutside, maxX, minX, notifyParents, setPosition, setPositionDirectly, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateRenderer, updateTransform, Z
Methods borrowed from class JXG.GeometryElement:
addChild, addRotation, animate, bounds, clearTrace, cloneToBackground, createLabel, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, labelColor, noHighlight, off, on, remove, resolveShortcuts, setArrow, setAttribute, setLabelText, setProperty, showElement, triggerEventHandlers
Events borrowed from class JXG.GeometryElement:
attribute, attribute:<attribute><attribute>, down, drag, mousedown, mousedrag, mousemove, mouseout, mouseover, mouseup, move, out, over, touchdown, touchdrag, touchup, up
Class 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.
grid = board.create('grid', []);

				
				
				
				
					
					
					
					
						
Throws:
{Error}
If the element cannot be constructed with the given parent objects an exception is thrown.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu May 30 2013 23:22:13 GMT+0200 (CEST)