Table of Contents

Enum ImageStretch

Namespace
Northwoods.Go
Assembly
Northwoods.GoDiagram.WinForms.dll

This enumeration specifies possible values for ImageStretch.

public enum ImageStretch

Fields

Fill = 1

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 = 0

Do not scale the image; there may be clipping in one or both directions if the available dimensions are too small.

Uniform = 2

Scale the image equally in both directions to fit the larger side of the image bounds

UniformToFill = 3

Scale the image equally in both directions to fit the arranged (actual) bounds. There may be clipping in one dimension.