Atributos públicos | |
FILL | |
Scale in X and Y independently, so that src matches dst exactly. | |
FIT | |
Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. May shrink or expand src to fit dst. | |
FIT_SHRINK | |
Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. May shrink src to fit dst, but will not expand it. |
Definición en la línea 37 del archivo Scale.java.
Scale in X and Y independently, so that src matches dst exactly.
Definición en la línea 42 del archivo Scale.java.
Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. May shrink or expand src to fit dst.
Definición en la línea 49 del archivo Scale.java.
Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. May shrink src to fit dst, but will not expand it.
Definición en la línea 56 del archivo Scale.java.