Interface IPromptImageGeometryConverter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IPromptImageGeometryConverter
Computes the new geometry of an image, based on its current width and height.
Since:
8.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    computeNewGeometry(int width, int height)
    Computes the new geometry of an image, based on its current width and height.
  • Method Details

    • computeNewGeometry

      PromptImageGeometryData computeNewGeometry(int width, int height)
      Computes the new geometry of an image, based on its current width and height.
      Parameters:
      width - The current width.
      height - The current height.
      Returns:
      The new geometry data.