- pause(int) - Static method in class StdDraw
-
Pause for t milliseconds.
- peek() - Method in class MyStack
-
Looks at the object at the top of this stack without removing it from the stack.
- picture(double, double, String) - Static method in class StdDraw
-
Draws the specified image centered at (x, y).
- picture(double, double, String, double) - Static method in class StdDraw
-
Draws the specified image centered at (x, y),
rotated given number of degrees.
- picture(double, double, String, double, double) - Static method in class StdDraw
-
Draws the specified image centered at (x, y),
rescaled to the specified bounding box.
- picture(double, double, String, double, double, double) - Static method in class StdDraw
-
Draws the specified image centered at (x, y), rotated
given number of degrees, and rescaled to the specified bounding box.
- PINK - Static variable in class StdDraw
-
The color pink.
- point(double, double) - Static method in class StdDraw
-
Draws a point centered at (x, y).
- polygon(double[], double[]) - Static method in class StdDraw
-
Draws a polygon with the vertices
(x0, y0),
(x1, y1), ...,
(xn–1, yn–1).
- pop() - Method in class MyStack
-
Removes the object at the top of this stack and returns that object as the value of this function.
- push(E) - Method in class MyStack
-
Pushes item onto the top of this stack
- save(String) - Static method in class StdDraw
-
Saves the drawing to using the specified filename.
- search(Object) - Method in class MyStack
-
Returns the 1-based position where an object is on this stack.
- setCanvasSize() - Static method in class StdDraw
-
Sets the canvas (drawing area) to be 512-by-512 pixels.
- setCanvasSize(int, int) - Static method in class StdDraw
-
Sets the canvas (drawing area) to be width-by-height pixels.
- setFont() - Static method in class StdDraw
-
Sets the font to the default font (sans serif, 16 point).
- setFont(Font) - Static method in class StdDraw
-
Sets the font to the specified value.
- setPenColor() - Static method in class StdDraw
-
Set the pen color to the default color (black).
- setPenColor(Color) - Static method in class StdDraw
-
Sets the pen color to the specified color.
- setPenColor(int, int, int) - Static method in class StdDraw
-
Sets the pen color to the specified RGB color.
- setPenRadius() - Static method in class StdDraw
-
Sets the pen size to the default size (0.002).
- setPenRadius(double) - Static method in class StdDraw
-
Sets the radius of the pen to the specified size.
- setScale() - Static method in class StdDraw
-
Sets the x-scale and y-scale to be the default
(between 0.0 and 1.0).
- setScale(double, double) - Static method in class StdDraw
-
Sets both the x-scale and y-scale to the (same) specified range.
- setXscale() - Static method in class StdDraw
-
Sets the x-scale to be the default (between 0.0 and 1.0).
- setXscale(double, double) - Static method in class StdDraw
-
Sets the x-scale to the specified range.
- setYscale() - Static method in class StdDraw
-
Sets the y-scale to be the default (between 0.0 and 1.0).
- setYscale(double, double) - Static method in class StdDraw
-
Sets the y-scale to the specified range.
- show(int) - Static method in class StdDraw
-
- show() - Static method in class StdDraw
-
Copies offscreen buffer to onscreen buffer.
- size() - Method in class MyStack
-
Returns the number of items in the stack
- square(double, double, double) - Static method in class StdDraw
-
Draws a square of side length 2r, centered at (x, y).
- StdDraw - Class in <Unnamed>
-
The StdDraw
class provides a basic capability for
creating drawings with your programs.