Class CustomResolution
java.lang.Object
org.graphstream.stream.file.images.CustomResolution
- All Implemented Interfaces:
Resolution
public class CustomResolution extends Object implements Resolution
User-defined resolution.
-
Constructor Summary
Constructors Constructor Description CustomResolution(int width, int height) -
Method Summary
-
Constructor Details
-
CustomResolution
public CustomResolution(int width, int height)
-
-
Method Details
-
getWidth
public int getWidth()Description copied from interface:ResolutionGet the width of outputted images.- Specified by:
getWidthin interfaceResolution- Returns:
- width
-
getHeight
public int getHeight()Description copied from interface:ResolutionGet the height of outputted images.- Specified by:
getHeightin interfaceResolution- Returns:
- height
-
toString
-