Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.java2d
Class Dimension2DDouble

    java.lang.Object
      java.awt.geom.Dimension2D
          org.apache.xmlgraphics.java2d.Dimension2DDouble

All Implemented Interfaces:
  Serializable, Cloneable

    public class Dimension2DDouble

extends Dimension2D
implements Serializable

Subclass of Dimension2D which takes double values.

See Also:
  Serialized Form

Constructor Summary
`Dimension2DDouble()` Default constructor.
`Dimension2DDouble(double width, double height)` Main constructor.

Method Summary
`boolean` | `equals(Object obj)`
`double` | `getHeight()`
`double` | `getWidth()`
`int` | `hashCode()`
`void` | `setSize(double w, double h)`
`String` | `toString()`

Methods inherited from class java.awt.geom.Dimension2D
`clone, setSize`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Dimension2DDouble

    public Dimension2DDouble()

  Default constructor.

### Dimension2DDouble

    public Dimension2DDouble(double width,
                             double height)

  Main constructor.

  Parameters:
    `width` - initial width
    `height` - initial height

Method Detail

### getWidth

    public double getWidth()

  Specified by:
    `getWidth` in class `Dimension2D`

### getHeight

    public double getHeight()

  Specified by:
    `getHeight` in class `Dimension2D`

### setSize

    public void setSize(double w,
                        double h)

  Specified by:
    `setSize` in class `Dimension2D`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.