Liking cljdoc? Tell your friends :D

jdk.awt.geom.Dimension2D

The Dimension2D class is to encapsulate a width and a height dimension.

This class is only the abstract superclass for all objects that store a 2D dimension. The actual storage representation of the sizes is left to the subclass.

The Dimension2D class is to encapsulate a width
and a height dimension.

This class is only the abstract superclass for all objects that
store a 2D dimension.
The actual storage representation of the sizes is left to
the subclass.
raw docstring

cloneclj

(clone this)

Creates a new object of the same class as this object.

returns: a clone of this instance. - java.lang.Object

throws: java.lang.OutOfMemoryError - if there is not enough memory.

Creates a new object of the same class as this object.

returns: a clone of this instance. - `java.lang.Object`

throws: java.lang.OutOfMemoryError - if there is not enough memory.
raw docstring

get-heightclj

(get-height this)

Returns the height of this Dimension in double precision.

returns: the height of this Dimension. - double

Returns the height of this Dimension in double
 precision.

returns: the height of this Dimension. - `double`
raw docstring

get-widthclj

(get-width this)

Returns the width of this Dimension in double precision.

returns: the width of this Dimension. - double

Returns the width of this Dimension in double
 precision.

returns: the width of this Dimension. - `double`
raw docstring

set-sizeclj

(set-size this d)
(set-size this width height)

Sets the size of this Dimension object to the specified width and height. This method is included for completeness, to parallel the getSize method of Component.

width - the new width for the Dimension object - double height - the new height for the Dimension object - double

Sets the size of this Dimension object to the
 specified width and height.
 This method is included for completeness, to parallel the
 getSize method of
 Component.

width - the new width for the Dimension object - `double`
height - the new height for the Dimension object - `double`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close