Uses of Interface java.awt.Shape

Uses in package javax.swing.plaf.basic

Classes implementing java.awt.Shape

class

Uses in package javax.swing.text

Classes implementing java.awt.Shape

class

Methods with parameter type java.awt.Shape

Shape
Vertically centers the single line of text within the bounds of the input shape.
void
Receive notification about a change update to the text model.
void
Receive notification about a change update to the text model.
void
Forwards the DocumentEvent to child views that need to get notified of the change to the model.
void
Forwards an update event to the given child view.
Shape
View.getChildAllocation(int index, Shape a)
String
View.getToolTipText(float x, float y, Shape allocation)
int
View.getViewIndex(float x, float y, Shape allocation)
void
Receive notification about an insert update to the text model.
void
Receive notification about an insert update to the text model.
Rectangle
PlainView.lineToRect(Shape a, int line)
Shape
Shape
Shape
PlainView.modelToView(int position, Shape a, Position.Bias b)
void
void
void
void
void
void
Shape
Shape
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
void
Receive notification about a remove update to the text model.
void
Receive notification about a remove update to the text model.
void
Updates the layout.
int
ComponentView.viewToModel(float x, float y, Shape a, Position.Bias bias)

Methods with return type java.awt.Shape

Shape
Vertically centers the single line of text within the bounds of the input shape.
Shape
View.getChildAllocation(int index, Shape a)
Shape
Shape
Shape
PlainView.modelToView(int position, Shape a, Position.Bias b)
Shape
Shape
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)

Uses in package java.awt

Classes implementing java.awt.Shape

class
This class represents a polygon, a closed, two-dimensional region in a coordinate space.
class
This class represents a rectangle and all the interesting things you might want to do with it.

Methods with parameter type java.awt.Shape

void
Shape
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape.
Shape
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape.
void
void
boolean
Graphics2D.hit(Rectangle rect, Shape text, boolean onStroke)
void
Sets the clipping region to the specified Shape.

Methods with return type java.awt.Shape

Shape
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape.
Shape
Returns a shape which outlines the boundary of the given shape, in effect converting the infinitely thin line into a new shape.
Shape
Returns the current clipping region as a Shape object.

Uses in package java.awt.image.renderable

Constructors with parameter type java.awt.Shape

Methods with parameter type java.awt.Shape

void

Methods with return type java.awt.Shape

Shape

Uses in package java.awt.geom

Classes implementing java.awt.Shape

class
This class represents all arcs (segments of an ellipse in 2-D space).
class
This class implements an arc in double precision.
class
This class implements an arc in float precision.
class
The Area class represents any area for the purpose of Constructive Area Geometry (CAG) manipulations.
class
A two-dimensional curve that is parameterized with a cubic function.
class
A two-dimensional curve that is parameterized with a cubic function and stores coordinate values in double-precision floating-point format.
class
A two-dimensional curve that is parameterized with a cubic function and stores coordinate values in single-precision floating-point format.
class
Ellipse2D is the shape of an ellipse.
class
An Ellipse2D that stores its coordinates using double primitives.
class
An Ellipse2D that stores its coordinates using float primitives.
class
A general geometric path, consisting of any number of subpaths constructed out of straight lines and cubic or quadratic Bezier curves.
class
Represents a directed line bewteen two points in (x,y) Cartesian space.
class
This class defines a point in double precision.
class
This class defines a point in float precision.
class
A two-dimensional curve that is parameterized with a quadratic function.
class
A two-dimensional curve that is parameterized with a quadratic function and stores coordinate values in double-precision floating-point format.
class
A two-dimensional curve that is parameterized with a quadratic function and stores coordinate values in single-precision floating-point format.
class
This class describes a rectangle by a point (x,y) and dimension (w x h).
class
This class defines a rectangle in double precision.
class
This class defines a rectangle in float precision.
class
This class provides a generic framework, and several helper methods, for subclasses which represent geometric objects inside a rectangular frame.
class
This class implements a rectangle with rounded corners.
class
A subclass of RoundRectangle which keeps its parameters as doubles.
class
A subclass of RoundRectangle which keeps its parameters as floats.

Constructors with parameter type java.awt.Shape

Constructs an Area from any given Shape.
Constructs a GeneralPath from an arbitrary shape object.

Methods with parameter type java.awt.Shape

void
GeneralPath.append(Shape s, boolean connect)
Appends the segments of a Shape to the path.
Shape
Return a new Shape, based on the given one, where the path of the shape has been transformed by this transform.

Methods with return type java.awt.Shape

Shape
Return a new Shape, based on the given one, where the path of the shape has been transformed by this transform.
Shape
Creates a transformed version of the path.

Uses in package java.awt.font

Constructors with parameter type java.awt.Shape

ShapeGraphicAttribute.ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)

Methods with return type java.awt.Shape

Shape
TextLayout.getBlackBoxBounds(int firstEndpoint, int secondEndpoint)
Shape
Shape
Shape[]
Shape[]
TextLayout.getCaretShapes(int offset, Rectangle2D bounds)
Shape[]
Shape
Shape
GlyphVector.getGlyphOutline(int glyphIndex)
Shape
GlyphVector.getGlyphOutline(int glyphIndex, float x, float y)
Shape
Shape
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)
Shape
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds)
Shape
Shape
GlyphVector.getOutline(float x, float y)
Shape
Shape
Shape
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)

Uses in package javax.swing

Methods with parameter type java.awt.Shape

void
Sets the current clipping region

Methods with return type java.awt.Shape

Shape
Returns the current clipping region.