Module omix.api
Package omix.lang

Class Image

java.lang.Object
omix.lang.Image
All Implemented Interfaces:
Serializable, Paint

public final class Image
extends Object
implements Paint, Serializable
Represents images in Omix.
Author:
Dr. Peter Droste, Omix Visualization
See Also:
Serialized Form
  • Constructor Details

    • Image

      public Image​(String file)
      Loads an image from file.
      Parameters:
      file - path of the image.
    • Image

      @ConstructorProperties("file") public Image​(File file)
      Loads an image from file.
      Parameters:
      file -
    • Image

      @OVLInaccessible public Image​(byte[] data)
      Created an image upon the submitted data.
      Parameters:
      data -
    • Image

      @OVLInaccessible public Image​(byte[] data, int width, int height, boolean isSVG)
      Created an image with the submitted data and bounds.
      Parameters:
      data -
      width -
      height -
  • Method Details