Class SupportSize
- java.lang.Object
-
- org.gephi.io.exporter.preview.util.SupportSize
-
public class SupportSize extends Object
Implementation of the size of an export support.- Author:
- Jérémy Subtil
-
-
Field Summary
Fields Modifier and Type Field Description private Integerheightprivate LengthUnitlengthUnitprivate Integerwidth
-
Constructor Summary
Constructors Constructor Description SupportSize(int width, int height, LengthUnit lengthUnit)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHeight()Returns the support's height.IntegergetHeightInt()StringgetWidth()Returns the support's width.IntegergetWidthInt()
-
-
-
Field Detail
-
width
private final Integer width
-
height
private final Integer height
-
lengthUnit
private final LengthUnit lengthUnit
-
-
Constructor Detail
-
SupportSize
public SupportSize(int width, int height, LengthUnit lengthUnit)Constructor.- Parameters:
width- the support's widthheight- the support's heightlengthUnit- the lenght unit
-
-