Lines Matching defs:Path2D

36  * The {@code Path2D} class provides a simple, yet flexible
43 * Use {@link Path2D.Float} when dealing with data that can be represented
44 * and used with floating point precision. Use {@link Path2D.Double}
47 * {@code Path2D} provides exactly those facilities required for
57 * two useful views of a geometric shape where {@code Path2D}
70 public abstract class Path2D implements Shape, Cloneable {
106 * Constructs a new empty {@code Path2D} object.
113 Path2D() {
117 * Constructs a new {@code Path2D} object from the given
129 Path2D(int rule, int initialTypes) {
150 public static class Float extends Path2D implements Serializable {
154 * Constructs a new empty single precision {@code Path2D} object
164 * Constructs a new empty single precision {@code Path2D} object
178 * Constructs a new empty single precision {@code Path2D} object
198 * Constructs a new single precision {@code Path2D} object
211 * Constructs a new single precision {@code Path2D} object
223 if (s instanceof Path2D) {
224 Path2D p2d = (Path2D) s;
326 * base {@code Path2D} class.
330 * @see Path2D#moveTo
363 * base {@code Path2D} class.
367 * @see Path2D#lineTo
402 * base {@code Path2D} class.
408 * @see Path2D#quadTo
450 * base {@code Path2D} class.
458 * @see Path2D#curveTo
728 * which means that the {@code Path2D} class does not
730 * {@code Path2D} object do not affect any iterations of
752 // Note: It would be nice to have this return Path2D
760 return new Path2D.Float(this);
805 * of {@code Path2D} objects:
817 * <td>A hint that the original {@code Path2D} object stored
824 * <td>A hint that the original {@code Path2D} object stored
915 static class CopyIterator extends Path2D.Iterator {
918 CopyIterator(Path2D.Float p2df) {
945 static class TxIterator extends Path2D.Iterator {
949 TxIterator(Path2D.Float p2df, AffineTransform at) {
984 public static class Double extends Path2D implements Serializable {
988 * Constructs a new empty double precision {@code Path2D} object
998 * Constructs a new empty double precision {@code Path2D} object
1012 * Constructs a new empty double precision {@code Path2D} object
1032 * Constructs a new double precision {@code Path2D} object
1045 * Constructs a new double precision {@code Path2D} object
1057 if (s instanceof Path2D) {
1058 Path2D p2d = (Path2D) s;
1453 * which means that the {@code Path2D} class does not
1455 * {@code Path2D} object do not affect any iterations of
1481 // Note: It would be nice to have this return Path2D
1486 return new Path2D.Double(this);
1530 * of {@code Path2D} objects:
1542 * <td>A hint that the original {@code Path2D} object stored
1549 * <td>A hint that the original {@code Path2D} object stored
1640 static class CopyIterator extends Path2D.Iterator {
1643 CopyIterator(Path2D.Double p2dd) {
1670 static class TxIterator extends Path2D.Iterator {
1674 TxIterator(Path2D.Double p2dd, AffineTransform at) {
1919 * of this {@code Path2D}.
1923 * for the transformed geometry than this {@code Path2D} currently
1927 * {@link Path2D.Float#Path2D.Float(Shape, AffineTransform) Path2D.Float}
1929 * {@link Path2D.Double#Path2D.Double(Shape, AffineTransform) Path2D.Double}
1939 Path2D p2d = (Path2D) clone();
2338 * which means that this {@code Path2D} class does not
2340 * {@code Path2D} object do not affect any iterations of
2360 // Note: It would be nice to have this return Path2D
2394 dCoords = ((Path2D.Double) this).doubleCoords;
2397 fCoords = ((Path2D.Float) this).floatCoords;
2484 ((Path2D.Double) this).doubleCoords = new double[nC];
2486 ((Path2D.Float) this).floatCoords = new float[nC];
2574 Path2D path;
2578 Iterator(Path2D path) {