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

Class Turtle

JXG.Turtle
      ↳ Turtle

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

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

Class Summary
Constructor Attributes Constructor Name and Description
 
Turtle(board, parents, attributes)
Creates a new turtle
Field 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
Class Detail
Turtle(board, parents, attributes)
Creates a new turtle
Parameters:
{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.
Field Detail
{Curve} arrow
Attributes for the turtle arrow.
Defined in: options.js.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Apr 02 2023 16:59:54 GMT-0000 (UTC)