Interface Images.Transformer

All Superinterfaces:
org.teavm.jso.JSObject
Enclosing interface:
Images

public static interface Images.Transformer extends org.teavm.jso.JSObject
A transformation under construction.
Since:
1.0.0
  • Method Details

    • transform

      Images.Transformer transform(TSObject options)
      Adds a transformation step.
      Parameters:
      options - width, height, fit, rotate and the rest
      Returns:
      this transformer
    • output

      default TSObject output(TSObject options)
      Renders the result.
      Parameters:
      options - format, quality
      Returns:
      the result, whose image() is the output stream
    • render

      org.teavm.jso.core.JSPromise<TSObject> render(TSObject options)