public class Options
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
setAngleResolution(int resolution)
Default angle resolution used for animation.
|
static void |
setBackgroundColor(java.awt.Color bgColor)
Default background color of playground.
|
static void |
setClosingMode(java.lang.String mode)
Determines what happens when the title bar close button is hit.
|
static void |
setEdgeBehavior(java.lang.String behavior)
Default behavior when the turtle reaches the edge of the playground.
|
static void |
setFramePosition(int ulx,
int uly)
Default position of frame (ulx, uly).
|
static void |
setFramesPerSecoonds(int nbFrames)
Default frames per second used for animation.
|
static void |
setFrameTitle(java.lang.String title)
Default title displayed in the frame title bar.
|
static void |
setPenColor(java.awt.Color penColor)
Default pen color.
|
static void |
setPlaygroundSize(int width,
int height)
Default size of playground (width, height).
|
static void |
setTurtleColor(java.awt.Color turtleColor)
Default color of the turtle shape.
|
static void |
setTurtleSpeed(int speed)
Default turtle speed used for animation.
|
public static void setClosingMode(java.lang.String mode)
public static void setFrameTitle(java.lang.String title)
public static void setPlaygroundSize(int width, int height)
public static void setFramePosition(int ulx, int uly)
public static void setBackgroundColor(java.awt.Color bgColor)
public static void setTurtleColor(java.awt.Color turtleColor)
public static void setPenColor(java.awt.Color penColor)
public static void setTurtleSpeed(int speed)
public static void setAngleResolution(int resolution)
public static void setFramesPerSecoonds(int nbFrames)
public static void setEdgeBehavior(java.lang.String behavior)