JPlanner Programmer's Guide
SizeD Members
Constructors Fields Methods
 


Stores an ordered pair of integers, typically the width and height of a rectangle. Instances of this class are immutable.

The following tables list the members exposed by the SizeD type.

 Public Constructors

  Name Description

SizeD

Overloaded. Initializes a new instance of the SizeD class.

 Public Fields

  Name Description

Empty

Represents a size with all properties set to zero.

 Public Methods

  Name Description

clone

Cloneable.clone implementation.

equals

Checks whether this size has the same values as the specified object.

getHeight

Gets the vertical component of this size.

getWidth

Gets the horizontal component of this size.

hashCode

Returns a hash code for the size.

negate

Returns a new SizeD instance representing the negative of this size.

readExternal

Externalizable.readExternal implementation.

toPoint

Converts this size to a PointD object.

toString

Converts this size to a human-readable string.

writeExternal

Externalizable.writeExternal implementation.

 See Also

SizeD Class
com.mindfusion.common Namespace