JPlanner Programmer's Guide
ImageAlignment Members
Fields
 


Specifies the alignment of an image.

The following tables list the members exposed by the ImageAlignment type.

 Public Fields

  Name Description

Bottom

The image is aligned to the bottom side of the layout rectangle.

Center

The image is centered within the layout rectangle.

Fit

The image is stretched to fit in the layout rectangle, but its original ratio is preserved.

Left

The image is aligned to the left side of the layout rectangle.

None

Same as Center.

Right

The image is aligned to the right side of the layout rectangle.

Stretch

The image is stretched. Equal to (Left | Top | Right | Bottom).

Tile

The image is tiled across the layout rectangle.

Top

The image is aligned to the top side of the layout rectangle.

 See Also

ImageAlignment Class
com.mindfusion.drawing Namespace