-
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.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Dimension.UndefinedINSTANCE
-