Package net.jalbum

Class Rendition

java.lang.Object
net.jalbum.Rendition

public class Rendition
extends java.lang.Object
Value object representing a specific rendition (final size) of an image variant
Since:
24
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
    • getEncodedName

      public java.lang.String getEncodedName()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getSize

      public java.awt.Dimension getSize()
    • getFormat

      public OutputFormat getFormat()
      Returns:
      OutputFormat. for typical rendition, returns resolved OutputFormat
    • getVariant

      public Variant getVariant()
      Returns:
      Variant that made this Rendition
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object