com.mindfusion.diagramming
Class ImageAlign

java.lang.Object
  extended by com.mindfusion.diagramming.ImageAlign

public final class ImageAlign
extends java.lang.Object

The members of this enumeration specify the position and size of the image displayed inside a node. These constants can be used as parameters of the ShapeNode.setImageAlign(int) method of the ShapeNode and TableNode classes.


Field Summary
static int BottomCenter
          The image is aligned to the bottom-center point of the node.
static int BottomLeft
          The image is aligned to the bottom-left corner of the node.
static int BottomRight
          The image is aligned to the bottom-right corner of the node.
static int Center
          The image is centered.
static int Fit
          The image is resized to fit the node, preserving its original x/y ratio.
static int MiddleLeft
          The image is aligned to the middle-left point of the node.
static int MiddleRight
          The image is aligned to the middle-right point of the node.
static int Stretch
          The image is stretched to fill the node.
static int Tile
          The image is tiled across the node area.
static int TopCenter
          The image is aligned to the top-center point of the node.
static int TopLeft
          The image is aligned to the top-left corner of the node.
static int TopRight
          The image is aligned to the top-right corner of the node.
 
Constructor Summary
ImageAlign()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Center

public static final int Center
The image is centered.

See Also:
Constant Field Values

Fit

public static final int Fit
The image is resized to fit the node, preserving its original x/y ratio.

See Also:
Constant Field Values

Stretch

public static final int Stretch
The image is stretched to fill the node.

See Also:
Constant Field Values

Tile

public static final int Tile
The image is tiled across the node area.

See Also:
Constant Field Values

TopLeft

public static final int TopLeft
The image is aligned to the top-left corner of the node.

See Also:
Constant Field Values

BottomLeft

public static final int BottomLeft
The image is aligned to the bottom-left corner of the node.

See Also:
Constant Field Values

TopRight

public static final int TopRight
The image is aligned to the top-right corner of the node.

See Also:
Constant Field Values

BottomRight

public static final int BottomRight
The image is aligned to the bottom-right corner of the node.

See Also:
Constant Field Values

TopCenter

public static final int TopCenter
The image is aligned to the top-center point of the node.

See Also:
Constant Field Values

BottomCenter

public static final int BottomCenter
The image is aligned to the bottom-center point of the node.

See Also:
Constant Field Values

MiddleLeft

public static final int MiddleLeft
The image is aligned to the middle-left point of the node.

See Also:
Constant Field Values

MiddleRight

public static final int MiddleRight
The image is aligned to the middle-right point of the node.

See Also:
Constant Field Values
Constructor Detail

ImageAlign

public ImageAlign()