Package 

Object Dimension.Original


  • 
    public class Dimension.Original
    extends Dimension
                        

    Represents the original pixel value of the source image.

    i.e. if the image's original dimensions are 400x600 and this is used as the width, this should be treated as 400 pixels.

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

    NOTE: If at least one dimension is Original, 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