Package 

Object Dimension.Undefined


  • 
    public class Dimension.Undefined
    extends Dimension
                        

    Represents an undefined pixel value.

    E.g. given Size(400, Dimension.Undefined), the image should be loaded to fit/fill a width of 400 pixels irrespective of the image's height.

    This value is typically used in cases where a dimension is unbounded (e.g. WRAP_CONTENT, Constraints.Infinity).

    NOTE: If either dimension is Undefined, Options.scale is always Scale.FIT.

    • Method Summary

      Modifier and Type Method Description
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait