|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.ImageAlign
public final class ImageAlign
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 |
---|
public static final int Center
public static final int Fit
public static final int Stretch
public static final int Tile
public static final int TopLeft
public static final int BottomLeft
public static final int TopRight
public static final int BottomRight
public static final int TopCenter
public static final int BottomCenter
public static final int MiddleLeft
public static final int MiddleRight
Constructor Detail |
---|
public ImageAlign()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |