Enum ImageStretch
This enumeration specifies possible values for ImageStretch.
Namespace: Northwoods.Go
Assembly: Northwoods.GoDiagram.WinForms.dll
Syntax
public enum ImageStretch
Fields
Name | Description |
---|---|
Fill | Scale the image in both directions so as to fit exactly in the given bounds; there is no clipping, but the aspect ratio may change, causing the image to appear stretched. |
None | Do not scale the image; there may be clipping in one or both directions if the available dimensions are too small. |
Uniform | Scale the image equally in both directions to fit the larger side of the image bounds |
UniformToFill | Scale the image equally in both directions to fit the arranged (actual) bounds. There may be clipping in one dimension. |