public class Size extends Object
Constructor and Description |
---|
Size() |
Size(double width,
double height) |
Modifier and Type | Method and Description |
---|---|
double |
calculateSurface() |
int |
getHeight() |
double |
getPreciseHeight() |
double |
getPreciseWidth() |
int |
getWidth() |
void |
setHeight(double height) |
void |
setWidth(double width) |
public int getWidth()
public double getPreciseWidth()
public void setWidth(double width)
public int getHeight()
public double getPreciseHeight()
public void setHeight(double height)
public double calculateSurface()
Copyright © 2017. All rights reserved.