Table of Contents

Enum StretchType

Namespace
VAST.Image.Mixing
Assembly
VAST.Common.dll

Specifies how images should be scaled to fit their target boundaries.

public enum StretchType

Fields

Fill = 2

Stretch image to the outer boundaries without preserving aspect ratio, i.e. fill the boundaries completely. The whole image remains visible.

Original = 0

Keep original image size. Part of the image could be cut out if it's outside the outer boundaries.

Preserve = 1

Stretch image to the outer boundaries while preserving aspect ratio and keeping the whole image visible.

Zoom = 3

Stretch and center image to fill the outer boundaries completely while keeping aspect ratio. Not fitting up/down or top/bottom parts could be cut out.