enum TextureScaleMode

Type of scaling modes for GUI images.

Values

NameValueDescription
StretchToFit 0 Image will stretch non-uniformly in all dimensions in order to cover the assigned area fully.
ScaleToFit 1 Image will scale uniformly until one dimension is aligned with the assigned area.
CropToFit 2 Image will scale uniformly until both dimensions are larger or aligned with the assigned area.
RepeatToFit 3 Image will keep its original size, but will repeat in order to fill the assigned area.