public enum ImageBehavior extends Enum<ImageBehavior>
Enum Constant and Description |
---|
BOTTOM_LEFT_CORNER_OF_PAGE
Image will be placed to the left bottom corner of the page
|
BOTTOM_RIGHT_CORNER_OF_PAGE
Image will be placed to the right bottom corner of the page
|
CENTERED_ON_PAGE
Image will be placed on center of the page
|
CROP_PAGE
Page will be scaled to exactly match the original image dimensions.
|
FIT_TO_PAGE
Image will fit to the defined page size whilst maintaining aspect ratio.
|
FIT_TO_PAGE_AND_MAINTAIN_ASPECT_RATIO
Image will fit to the page and keep aspect ratio
|
TOP_LEFT_CORNER_OF_PAGE
Image will be placed to the left top corner of the page
|
TOP_RIGHT_CORNER_OF_PAGE
Image will be placed to the right top corner of the page
|
Modifier and Type | Method and Description |
---|---|
static ImageBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageBehavior CENTERED_ON_PAGE
public static final ImageBehavior FIT_TO_PAGE
public static final ImageBehavior FIT_TO_PAGE_AND_MAINTAIN_ASPECT_RATIO
public static final ImageBehavior CROP_PAGE
public static final ImageBehavior TOP_LEFT_CORNER_OF_PAGE
public static final ImageBehavior BOTTOM_LEFT_CORNER_OF_PAGE
public static final ImageBehavior TOP_RIGHT_CORNER_OF_PAGE
public static final ImageBehavior BOTTOM_RIGHT_CORNER_OF_PAGE
public static ImageBehavior[] values()
for (ImageBehavior c : ImageBehavior.values()) System.out.println(c);
public static ImageBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022–2023 Iron Software. All rights reserved.