SoImageBackgroundStyles Enumeration |
Image background style.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
NONE | 0 | No image is rendered. | |
CENTER | 1 | Image is rendered actual size, centered in the window (image aspect ratio is preserved but image may be cropped and background may be visible). | |
LOWER_LEFT | 2 | Image is rendered actual size in lower left corner (image aspect ratio is preserved but image may be cropped and background may be visible). | |
UPPER_LEFT | 3 | Image is rendered actual size in upper left corner (image aspect ratio is preserved but image may be cropped and background may be visible). | |
UPPER_RIGHT | 4 | Image is rendered actual size in upper right corner (image aspect ratio is preserved but image may be cropped and background may be visible). | |
LOWER_RIGHT | 5 | Image is rendered actual size in lower right corner (image aspect ratio is preserved but image may be cropped and background may be visible). | |
STRETCH | 6 | Image is stretched to exactly fill the viewport in both directions (image aspect ratio is not preserved). | |
TILE | 7 | Image is tiled to fill window starting from lower left corner (image aspect ratio is preserved). | |
CROP | 8 | Image is centered and stretched to exactly fill the longer dimension of the viewport (width or height) (image aspect ratio is preserved but portions of image will be cropped if the aspect ratio of the image and viewport are different). | |
FIT | 9 | Image is centered and stretched to exactly fill the shorter dimension of the viewport (width or height) (image aspect ratio is preserved but background color will be visible on sides or top and bottom of the image if the aspect ratio of the image and viewport are different). |