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 method of the ShapeNode and TableNode classes.
The following tables list the members exposed by the ImageAlign type.
Name | Description | |
---|---|---|
![]() |
|
Name | Description | |
---|---|---|
![]() ![]() |
The image is aligned to the bottom-center point of the node. |
|
![]() ![]() |
The image is aligned to the bottom-left corner of the node. |
|
![]() ![]() |
The image is aligned to the bottom-right corner of the node. |
|
![]() ![]() |
The image is centered. |
|
![]() ![]() |
The image is resized to fit the node, preserving its original x/y ratio. |
|
![]() ![]() |
The image is aligned to the middle-left point of the node. |
|
![]() ![]() |
The image is aligned to the middle-right point of the node. |
|
![]() ![]() |
The image is stretched to fill the node. |
|
![]() ![]() |
The image is tiled across the node area. |
|
![]() ![]() |
The image is aligned to the top-center point of the node. |
|
![]() ![]() |
The image is aligned to the top-left corner of the node. |
|
![]() ![]() |
The image is aligned to the top-right corner of the node. |