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 Turtle

JXG.Turtle
      ↳ Turtle

This element is used to provide a constructor for a turtle.

Defined in: turtle.js.
Extends JXG.Turtle.

Element Summary
Constructor Attributes Constructor Name and Description
 
Creates a new turtle
Attributes Summary
Field Attributes Field Name and Description
 
Attributes for the turtle arrow.
Methods borrowed from class JXG.Turtle:
back, bk, clean, clearScreen, copyAttr, cs, evalAt, fd, forward, getHighlightPenColor, getPenAttribute, getPenColor, getPenSize, hasPoint, hideTurtle, home, ht, init, left, lookTo, lt, maxX, minX, moveTo, pd, penDown, penUp, pop, popTurtle, pu, push, pushTurtle, right, rt, setAttribute, setHighlightPenColor, setPenColor, setPenSize, setPos, showTurtle, st, X, Y, Z
Element Detail
Turtle
Creates a new turtle
This element has no direct constructor. To create an instance of this element you have to call JXG.Board#create with type "turtle".

Possible parent array combinations are:
{JXG.Board} board

The board the turtle is put on.


{Array} parents



{Object} attributes

Object containing properties for the element such as stroke-color and visibility. See JXG.GeometryElement#setAttribute


Returns:
{JXG.Turtle} Reference to the created turtle object.
Attribute Detail
{Curve} arrow
Attributes for the turtle arrow.
Defined in: options.js.

Attributes borrowed from other Elements

Fields borrowed from other Elements

Methods borrowed from other Elements
Methods borrowed from class JXG.Turtle:
back, bk, clean, clearScreen, copyAttr, cs, evalAt, fd, forward, getHighlightPenColor, getPenAttribute, getPenColor, getPenSize, hasPoint, hideTurtle, home, ht, init, left, lookTo, lt, maxX, minX, moveTo, pd, penDown, penUp, pop, popTurtle, pu, push, pushTurtle, right, rt, setAttribute, setHighlightPenColor, setPenColor, setPenSize, setPos, showTurtle, st, X, Y, Z

Events borrowed from other Elements
Documentation generated by JsDoc Toolkit 2.4.0 on Fri Nov 08 2024 12:13:08 GMT+0100 (Mitteleuropäische Normalzeit)