Interface Size
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SizeImpl
public interface Size extends java.io.SerializableThe Interface Size.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetHeight()Gets the height.doublegetWidth()Gets the width.voidsetHeight(double height)Sets the height.voidsetWidth(double width)Sets the width.
-
-
-
Method Detail
-
getWidth
double getWidth()
Gets the width.- Returns:
- the width
-
setWidth
void setWidth(double width)
Sets the width.- Parameters:
width- the new width
-
getHeight
double getHeight()
Gets the height.- Returns:
- the height
-
setHeight
void setHeight(double height)
Sets the height.- Parameters:
height- the new height
-
-