JVCL Help:TJvTurtle

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvTurtle
run\JvTurtle.pas


Summary

Drawing component that allows the drawing of the path of a turtle.

run\JvTurtle.pas


Pascal

 run\JvTurtle.pas
 TJvTurtle = class(TComponent);


Description

  1. JVCLInfo

Basic turtle object used in for ex. childgame. Assign a canvas (ex. form.canvas) to the TJvTurtle, and a starting point (position: ex. 100, 100). From this point on you can start by moving your turtle across the screen, while it leaves it's trail (it draws a line). Make sure your pen is down, or it will not draw (PenDown property set to true). Easy made functions like Moveforward, Movebackward, Turn, .... allow you to control the turtles movement.

run\JvTurtle.pas


About

Navigation

run\JvTurtle.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page