Class JXG.SVGRenderer
Extends
JXG.AbstractRenderer.
JXG.AbstractRenderer
Defined in: SVGRenderer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
JXG.SVGRenderer(container)
Uses SVG to implement the rendering methods defined in JXG.AbstractRenderer.
|
Field Attributes | Field Name and Description |
---|---|
Defines dash patterns.
|
|
The defs element is a container element to reference reusable SVG elements.
|
|
Filters are used to apply shadows.
|
|
JSXGraph uses a layer system to sort the elements on the board.
|
|
The SVG Namespace used in JSXGraph.
|
|
The xlink namespace.
|
- Fields borrowed from class JXG.AbstractRenderer:
- container, enhancedRendering, type, vOffsetText
- Methods borrowed from class JXG.AbstractRenderer:
- appendChildPrim, appendNodesToElement, changePointStyle, createPrim, displayCopyright, drawCurve, drawEllipse, drawImage, drawInternalText, drawLine, drawPoint, drawPolygon, drawText, drawTicks, drawZoomBar, getElementById, hide, highlight, joinTransforms, makeArrows, noHighlight, remove, removeDraft, resize, setBuffering, setDashStyle, setDraft, setGradient, setObjectFillColor, setObjectStrokeColor, setObjectStrokeWidth, setPropertyPrim, setShadow, show, suspendRedraw, transformImage, unsuspendRedraw, updateCurve, updateEllipse, updateEllipsePrim, updateGradient, updateImage, updateImageStyle, updateImageURL, updateInternalText, updateLine, updateLinePrim, updatePathPrim, updatePathStringBezierPrim, updatePathStringPoint, updatePathStringPrim, updatePoint, updatePolygon, updatePolygonPrim, updateRectPrim, updateText, updateTextStyle, updateTicks
Class Detail
JXG.SVGRenderer(container)
Uses SVG to implement the rendering methods defined in JXG.AbstractRenderer.
- Parameters:
- {Node} container
- Reference to a DOM node containing the board.
- See:
- JXG.AbstractRenderer
Field Detail
{Array}
dashArray
Defines dash patterns. Defined styles are:
- 2px dash, 2px space
- 5px dash, 5px space
- 10px dash, 10px space
- 20px dash, 20px space
- 20px dash, 10px space, 10px dash, 10px dash
- 20px dash, 5px space, 10px dash, 5px space
- See:
- http://www.w3.org/TR/SVG/painting.html#StrokeProperties
- Default Value:
- ['2, 2', '5, 5', '10, 10', '20, 20', '20, 10, 10, 10', '20, 5, 10, 5']
{Node}
defs
The defs element is a container element to reference reusable SVG elements.
- See:
- http://www.w3.org/TR/SVG/struct.html#DefsElement
{Node}
filter
Filters are used to apply shadows.
- See:
- http://www.w3.org/TR/SVG/filters.html#FilterElement
{Array}
layer
JSXGraph uses a layer system to sort the elements on the board. This puts certain types of elements in front
of other types of elements. For the order used see JXG.Options.layer. The number of layers is documented
there, too. The higher the number, the "more on top" are the elements on this layer.
{String}
svgNamespace
The SVG Namespace used in JSXGraph.
- See:
- http://www.w3.org/TR/SVG/
- Default Value:
- http://www.w3.org/2000/svg
{String}
xlinkNamespace
The xlink namespace. This is used for images.
- See:
- http://www.w3.org/TR/xlink/
- Default Value:
- http://www.w3.org/1999/xlink