Modifier and Type | Class and Description |
---|---|
class |
Circle
Representation of a circle drawn on the canvas.
|
class |
Image
Representation of an image drawn on the canvas.
|
class |
Line
Representation of a line drawn on the canvas.
|
class |
Point
Representation of a point drawn on the canvas.
|
class |
Rectangle
Representation of a rectangle drawn on the canvas.
|
class |
Square
Representation of a square drawn on the canvas.
|
class |
Text
Representation of text drawn on the canvas.
|
class |
Triangle
Representation of a triangle drawn on the canvas.
|
Modifier and Type | Method and Description |
---|---|
Shape |
Touch.getShape()
Returns the shape over which this touch event occurred.
|
Shape |
Fling.getShape()
Returns the shape over which this fling event occurred.
|
Modifier and Type | Method and Description |
---|---|
static double |
Shape.distance_squared(Shape s1,
Shape s2)
Computes the squared distance between the given shapes.
|
static double |
Shape.distance(Shape s1,
Shape s2)
Computes the distance between the given shapes.
|
void |
Touch.setShape(Shape s)
Sets the shape over which this touch event occurred.
|
void |
Fling.setShape(Shape s)
Sets the shape over which this fling event occurred.
|