public class Size extends java.lang.Object implements CloneableType
| Constructor and Description |
|---|
Size(FloatUnit length,
FloatUnit width) |
Size(FloatUnit length,
FloatUnit width,
FloatUnit height) |
Size(java.lang.String source)
Creates a new Size object parsing a string value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Duplicates this object.
|
boolean |
equals(java.lang.Object o) |
FloatUnit |
getHeight()
Height value.
|
FloatUnit |
getLength()
Length value.
|
FloatUnit |
getWidth()
Width value.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public Size(java.lang.String source)
source - String value to parsepublic Size(FloatUnit length, FloatUnit width)
length - lenght valuewidth - width valuepublic FloatUnit getHeight()
public FloatUnit getLength()
public FloatUnit getWidth()
public java.lang.Object clone()
clone in interface CloneableTypeclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2025. All rights reserved.