Java org.jfree.util ShapeUtilities fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.util ShapeUtilities fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.util ShapeUtilities.

The text is from its open source code.

Method

Shapeclone(final Shape shape)
Returns a clone of the specified shape, or null.
ShapecreateDiagonalCross(final float l, final float t)
Creates a diagonal cross shape.
ShapecreateDiamond(final float s)
Creates a diamond shape.
ShapecreateDownTriangle(final float s)
Creates a triangle shape that points downwards.
ShapecreateRegularCross(final float l, final float t)
Creates a diagonal cross shape.
ShapecreateTranslatedShape(final Shape shape, final RectangleAnchor anchor, final double locationX, final double locationY)
Translates a shape to a new location such that the anchor point (relative to the rectangular bounds of the shape) aligns with the specified (x, y) coordinate in Java2D space.
ShapecreateTranslatedShape(final Shape shape, final double transX, final double transY)
Creates and returns a translated shape.
ShapecreateUpTriangle(final float s)
Creates a triangle shape that points upwards.
booleanequal(final Shape s1, final Shape s2)
Tests two shapes for equality.
booleanequal(final Line2D l1, final Line2D l2)
Compares two lines are returns true if they are equal or both null.
booleanequal(final Ellipse2D e1, final Ellipse2D e2)
Compares two ellipses and returns true if they are equal or both null.
booleanequal(final Arc2D a1, final Arc2D a2)
Compares two arcs and returns true if they are equal or both null.
booleanequal(final Polygon p1, final Polygon p2)
Tests two polygons for equality.
booleanequal(final GeneralPath p1, final GeneralPath p2)
Tests two polygons for equality.
Point2DgetPointInRectangle(double x, double y, final Rectangle2D area)
Returns a point based on (x, y) but constrained to be within the bounds of a given rectangle.
ShaperotateShape(final Shape base, final double angle, final float x, final float y)
Rotates a shape about the specified coordinates.