The ImageItem constants, defined by the ImageItem class, specify the layout of the image created. These constants are listed below with their description:
- LAYOUT_DEFAULT: It uses the device’s default layout.
- LAYOUT_LEFT: It aligns the specified image to the left margin of the display.
- LAYOUT_RIGHT: It aligns the specified image to the right margin of the display.
- LAYOUT_CENTER: It places the image in the center.
- LAYOUT_NEWLINE_BEFORE: A new line is created before the image is created.
- LAYOUT_NEWLINE_AFTER: A new line is drawn after the image is created.