List of usage examples for java.awt Shape interface-usage
From source file edu.umn.cs.spatialHadoop.core.OGCESRIShape.java
/**
* A shape class that represents an OGC compliant geometry. The geometry is
* enclosed inside the class and all calls are delegated to it. The class also
* holds extra information for each records that could represent other columns
* for each records. The text representation is assumed to be some kind of CSV.
* The shape is always the first column in that CSV. The text representation of
From source file edu.umn.cs.spatialHadoop.core.OGCJTSShape.java
/**
* A shape class that represents an OGC compliant geometry. The geometry is
* enclosed inside the class and all calls are delegated to it. The class also
* holds extra information for each records that could represent other columns
* for each records. The text representation is assumed to be some kind of CSV.
* The shape is always the first column in that CSV. The text representation of
From source file Polygon2D.java
/** * This class is a Polygon with float coordinates. * * @version $Id: Polygon2D.java 594018 2007-11-12 04:17:41Z cam $ */ public class Polygon2D implements Shape, Cloneable, Serializable {
From source file Polyline2D.java
/**
* This class has the same behavior than {@link Polygon2D}, except that
* the figure is not closed.
*
* @version $Id: Polyline2D.java 594018 2007-11-12 04:17:41Z cam $
*/
From source file ScribbleDragAndDrop.java
class Scribble implements Shape, Transferable, Serializable, Cloneable { protected double[] points = new double[64]; // The scribble data protected int numPoints = 0; // The current number of points double maxX = Double.NEGATIVE_INFINITY; // The bounding box
From source file TransferableScribblePane.java
/**
* This Shape implementation represents a series of connected line segments. It
* is like a Polygon, but is not closed. This class is used by the ScribblePane
* class of the GUI chapter. It implements the Cloneable and Externalizable
* interfaces so it can be used in the Drag-and-Drop examples in the Data
* Transfer chapter.
From source file ExtendedGeneralPath.java
/**
* The <code>ExtendedShape</code> class represents a geometric
* path constructed from straight lines, quadratic and cubic (Bezier)
* curves and elliptical arcs.
* @author <a href="mailto:deweese@apache.org">Thomas DeWeese</a>
* @version $Id: ExtendedShape.java 478249 2006-11-22 17:29:37Z dvholten $