Search
ImageAlignment Enumeration
See Also
 






Specifies the alignment of an image.

Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing

 Syntax

Java  Copy Code

public enum ImageAlignment

 Members

  Member 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