|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||
Uses of Interface
java.awt.Shape
| Uses of Shape in java.awt |
| Classes in java.awt that implement Shape | |
class |
Polygon
This class represents a polygon, a closed, two-dimensional region in a coordinate space. |
class |
Rectangle
This class represents a rectangle and all the interesting things you might want to do with it. |
| Methods in java.awt that return Shape | |
abstract Shape |
Graphics.getClip()
Returns the current clipping region as a Shape object. |
Shape |
Stroke.createStrokedShape(Shape s)
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape. |
Shape |
BasicStroke.createStrokedShape(Shape s)
Creates a shape representing the stroked outline of the given shape. |
private Shape |
BasicStroke.solidStroke(java.awt.geom.PathIterator pi)
|
private Shape |
BasicStroke.dashedStroke(java.awt.geom.PathIterator pi)
|
| Methods in java.awt with parameters of type Shape | |
abstract void |
Graphics.setClip(Shape clip)
Sets the clipping region to the specified Shape. |
abstract void |
Graphics2D.draw(Shape shape)
|
abstract void |
Graphics2D.fill(Shape shape)
|
abstract boolean |
Graphics2D.hit(Rectangle rect,
Shape text,
boolean onStroke)
|
abstract void |
Graphics2D.clip(Shape s)
|
Shape |
Stroke.createStrokedShape(Shape s)
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape. |
Shape |
BasicStroke.createStrokedShape(Shape s)
Creates a shape representing the stroked outline of the given shape. |
| Uses of Shape in java.awt.geom |
| Classes in java.awt.geom that implement Shape | |
class |
java.awt.geom.Rectangle2D
This class describes a rectangle by a point (x,y) and dimension (w x h). |
class |
java.awt.geom.RectangularShape
This class provides a generic framework, and several helper methods, for subclasses which represent geometric objects inside a rectangular frame. |
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||