Skip to main content

Stretch Enum

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Media

Specifies how content is stretched to fill a region.

public enum Stretch

Fields

NameValueDescription
NoneThe content is drawn at its original size without stretching.
FillThe content is stretched to fill the region exactly.
UniformThe content is scaled uniformly to fit within the region.
UniformToFillThe content is scaled uniformly to completely fill the region.