java.lang.Object
org.jfree.chart3d.graphics3d.Offset2D
- All Implemented Interfaces:
Serializable
An offset
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
(dx, dy)
in two dimensional space. Instances of
this class are immutable.
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ZERO_OFFSET
Zero offset.
-
-
Constructor Details
-
Offset2D
public Offset2D()Default constructor ((0, 0)
). -
Offset2D
Creates a new instance.- Parameters:
dx
- the x-offset.dy
- the y-offset.
-
-
Method Details
-
getDX
Returns the x-offset.- Returns:
- The x-offset.
-
getDY
Returns the y-offset.- Returns:
- The y-offset.
-
equals
Tests this instance for equality with an arbitrary object. -
hashCode
Returns a hash code for this instance.
-