Added Dimensions.ZERO.
This commit is contained in:
@@ -9,6 +9,9 @@ package pythagoras.d;
|
|||||||
*/
|
*/
|
||||||
public class Dimensions
|
public class Dimensions
|
||||||
{
|
{
|
||||||
|
/** A dimension width zero width and height. */
|
||||||
|
public static final IDimension ZERO = new Dimension(0, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a string describing the supplied dimension, of the form <code>widthxheight</code>.
|
* Returns a string describing the supplied dimension, of the form <code>widthxheight</code>.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ package pythagoras.f;
|
|||||||
*/
|
*/
|
||||||
public class Dimensions
|
public class Dimensions
|
||||||
{
|
{
|
||||||
|
/** A dimension width zero width and height. */
|
||||||
|
public static final IDimension ZERO = new Dimension(0, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a string describing the supplied dimension, of the form <code>widthxheight</code>.
|
* Returns a string describing the supplied dimension, of the form <code>widthxheight</code>.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user