Searched defs:Shape (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/awt/java/awt/
H A DShape.java30 * The Shape interface defines a geometric shape defined by a boundary (outline)
32 * Shape interface provides methods for obtaining the bounding box (which is the
34 * object for current Shape, as well as utility methods which determine if the
35 * Shape contains or intersects a Rectangle or contains a Point.
39 public interface Shape { interface
43 * the Shape.
49 * @return true, if the specified coordinates lie inside the Shape, false
56 * parameters lies inside the Shape.
66 * @return true, if the specified rectangle lies inside the Shape, false
72 * Checks whether or not the specified Point2D lies inside the Shape
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java24 * Any Shape can be drawn to a Canvas with its own draw() method,
28 public abstract class Shape implements Cloneable { class in inherits:Cloneable
33 * Returns the width of the Shape.
40 * Returns the height of the Shape.
79 * Checks whether the Shape is opaque.
91 * @param width the new width of the Shape
92 * @param height the new height of the Shape
97 public Shape clone() throws CloneNotSupportedException {
98 return (Shape) super.clone();

Completed in 87 milliseconds