- DEFAULT_COLOR - Static variable in class cs1.android.Shape
-
The default color of a shape.
- DEFAULT_SIZE - Static variable in class cs1.android.Text
-
- distance(double, double, double, double) - Static method in class cs1.android.Point
-
Returns the distance between points with the given coordinates.
- distance(Point, Point) - Static method in class cs1.android.Point
-
Returns the distance between the given points.
- distance(Shape, Shape) - Static method in class cs1.android.Shape
-
Computes the distance between the given shapes.
- distance_squared(double, double, double, double) - Static method in class cs1.android.Point
-
Returns the squared distance between points with the given points.
- distance_squared(Point, Point) - Static method in class cs1.android.Point
-
Returns the squared distance between the given points.
- distance_squared(Shape, Shape) - Static method in class cs1.android.Shape
-
Computes the squared distance between the given shapes.
- draw(Canvas) - Method in class cs1.android.Circle
-
Draws this circle on the given canvas.
- draw(Canvas) - Method in class cs1.android.Image
-
Draws this image on the given canvas.
- draw(Canvas) - Method in class cs1.android.Line
-
Draws this line on the given canvas.
- draw(Canvas) - Method in class cs1.android.Point
-
Draws this point on the given canvas.
- draw(Canvas) - Method in class cs1.android.Rectangle
-
Draws this rectangle on the given canvas.
- draw() - Method in class cs1.android.Shape
-
Draws this shape on the canvas.
- draw(Canvas) - Method in class cs1.android.Shape
-
Draws this shape on the given canvas.
- draw(Canvas) - Method in class cs1.android.Square
-
Draws this square on the given canvas.
- draw(Canvas) - Method in class cs1.android.Text
-
Draws this text on the given canvas.
- draw(Canvas) - Method in class cs1.android.Triangle
-
Draws this triangle on the given canvas.
- drawCircle(double, double, double) - Static method in class cs1.android.canvas
-
Draws a circle with the given radius centered at the given point coordinates
in the default color.
- drawCircle(double, double, double, String) - Static method in class cs1.android.canvas
-
Draws a circle with the given radius centered at the given point coordinates
in the given color.
- drawImage(double, double, String) - Static method in class cs1.android.canvas
-
Draws the image with the given filename centered at the given point coordinates.
- drawLine(double, double, double, double) - Static method in class cs1.android.canvas
-
Draws a line between the given point coordinates in the default color.
- drawLine(double, double, double, double, String) - Static method in class cs1.android.canvas
-
Draws a line between the given point coordinates in the given color.
- drawPoint(double, double) - Static method in class cs1.android.canvas
-
Draws a point at the given coordinates in the default color.
- drawPoint(double, double, String) - Static method in class cs1.android.canvas
-
Draws a point at the given coordinates in the given color.
- drawRectangle(double, double, double, double) - Static method in class cs1.android.canvas
-
Draws a rectangle with the given width and height centered at the given point coordinates
in the default color.
- drawRectangle(double, double, double, double, String) - Static method in class cs1.android.canvas
-
Draws a rectangle with the given width and height centered at the given point coordinates
in the given color.
- drawSquare(double, double, double) - Static method in class cs1.android.canvas
-
Draws a square with the given side length centered at the given point coordinates
in the default color.
- drawSquare(double, double, double, String) - Static method in class cs1.android.canvas
-
Draws a square with the given side length centered at the given point coordinates
in the given color.
- drawText(double, double, String) - Static method in class cs1.android.canvas
-
Draws the given string centered at the given point coordinates
in the default color and size.
- drawText(double, double, String, int) - Static method in class cs1.android.canvas
-
Draws the given string in the given size centered at the given point coordinates
in the default color.
- drawText(double, double, String, String) - Static method in class cs1.android.canvas
-
Draws the given string in the given color and default size centered at the given point coordinates.
- drawText(double, double, String, int, String) - Static method in class cs1.android.canvas
-
Draws the given string in the given size and color centered at the given point coordinates.
- drawText(double, double, char) - Static method in class cs1.android.canvas
-
Draws the given character centered at the given point coordinates
in the default color and size.
- drawText(double, double, char, int) - Static method in class cs1.android.canvas
-
Draws the given character in the given size centered at the given point coordinates
in the default color.
- drawText(double, double, char, String) - Static method in class cs1.android.canvas
-
Draws the given character in the given color and default size centered at the given point coordinates.
- drawText(double, double, char, int, String) - Static method in class cs1.android.canvas
-
Draws the given character in the given size and color centered at the given point coordinates.
- drawText(double, double, int) - Static method in class cs1.android.canvas
-
Draws the given number centered at the given point coordinates
in the default color and size.
- drawText(double, double, int, int) - Static method in class cs1.android.canvas
-
Draws the given number in the given size centered at the given point coordinates
in the default color.
- drawText(double, double, int, String) - Static method in class cs1.android.canvas
-
Draws the given number in the given color and default size centered at the given point coordinates.
- drawText(double, double, int, int, String) - Static method in class cs1.android.canvas
-
Draws the given number in the given size and color centered at the given point coordinates.
- drawText(double, double, double) - Static method in class cs1.android.canvas
-
Draws the given number centered at the given point coordinates
in the default color and size.
- drawText(double, double, double, int) - Static method in class cs1.android.canvas
-
Draws the given number in the given size centered at the given point coordinates
in the default color.
- drawText(double, double, double, String) - Static method in class cs1.android.canvas
-
Draws the given number in the given color and default size centered at the given point coordinates.
- drawText(double, double, double, int, String) - Static method in class cs1.android.canvas
-
Draws the given number in the given size and color centered at the given point coordinates.
- drawTriangle(double, double, double, double, double, double) - Static method in class cs1.android.canvas
-
Draws a triangle connecting the given points in the default color.
- drawTriangle(double, double, double, double, double, double, String) - Static method in class cs1.android.canvas
-
Draws a triangle connecting the given points in the given color.