|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ScalingMethod>
org.foray.fotree.fo.enums.ScalingMethod
public enum ScalingMethod
Enumeration of possible scaling-method values.
Enum Constant Summary | |
---|---|
AUTO
The user-agent is free to choose either resampling, integer scaling, or any other scaling method. |
|
INTEGER_PIXELS
The user-agent should scale the image such that each pixel in the original image is scaled to the nearest integer number of device-pixels that yields an image less-than-or-equal-to the image size derived from the content-height, content-width, and scaling properties. |
|
RESAMPLE_ANY_METHOD
The user-agent should resample the supplied image to provide an image that fills the size derived from the content-height, content-width, and scaling properties. |
Method Summary | |
---|---|
static ScalingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScalingMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ScalingMethod AUTO
public static final ScalingMethod INTEGER_PIXELS
public static final ScalingMethod RESAMPLE_ANY_METHOD
Method Detail |
---|
public static ScalingMethod[] values()
for (ScalingMethod c : ScalingMethod.values()) System.out.println(c);
public static ScalingMethod valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |