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 Details

    • CustomResolution

      public CustomResolution​(int width, int height)
  • Method Details

    • getWidth

      public int getWidth()
      Description copied from interface: Resolution
      Get the width of outputted images.
      Specified by:
      getWidth in interface Resolution
      Returns:
      width
    • getHeight

      public int getHeight()
      Description copied from interface: Resolution
      Get the height of outputted images.
      Specified by:
      getHeight in interface Resolution
      Returns:
      height
    • toString

      public String toString()
      Overrides:
      toString in class Object