Class Turtle


  • public class Turtle
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Turtle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void move​(long distance)  
      void penColor​(java.awt.Color color)  
      void penDown()  
      void penSize​(int size)  
      void penUp()  
      java.awt.image.BufferedImage toImage()  
      void turn​(double angle)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Turtle

        public Turtle()
    • Method Detail

      • penDown

        public void penDown()
      • penUp

        public void penUp()
      • move

        public void move​(long distance)
      • turn

        public void turn​(double angle)
      • penColor

        public void penColor​(java.awt.Color color)
      • penSize

        public void penSize​(int size)
      • toImage

        public java.awt.image.BufferedImage toImage()