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 setImageAlign method of the ShapeNode and TableNode classes.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public enum ImageAlign |
Member name | Description | |
---|---|---|
![]() |
BottomCenter |
The image is aligned to the bottom-center point of the node. |
![]() |
BottomLeft |
The image is aligned to the bottom-left corner of the node. |
![]() |
BottomRight |
The image is aligned to the bottom-right corner of the node. |
![]() |
Center |
The image is centered. |
![]() |
Fit |
The image is resized to fit the node, preserving its original x/y ratio. |
![]() |
MiddleLeft |
The image is aligned to the middle-left point of the node. |
![]() |
MiddleRight |
The image is aligned to the middle-right point of the node. |
![]() |
Stretch |
The image is stretched to fill the node. |
![]() |
Tile |
The image is tiled across the node area. |
![]() |
TopCenter |
The image is aligned to the top-center point of the node. |
![]() |
TopLeft |
The image is aligned to the top-left corner of the node. |
![]() |
TopRight |
The image is aligned to the top-right corner of the node. |