Show / Hide Table of Contents

Class UIImageTypes

UI Image drawing types. This defines how to scale and what parts of the UI image to draw.

Inheritance
System.Object
UIImageTypes
Namespace: BonEngineSharp.Defs
Assembly: BonEngineSharp.dll
Syntax
public sealed class UIImageTypes : Enum

Fields

Single

Draw image once, no matter the element size, scaled by texture scale.

Declaration
public const UIImageTypes Single
Field Value
Type Description
UIImageTypes

Sliced

Draw image as a 9-sliced texture with 4 sides, 4 corners, and tiled center.

Declaration
public const UIImageTypes Sliced
Field Value
Type Description
UIImageTypes

Stretch

Draw image stretched over the calculated destination rect.

Declaration
public const UIImageTypes Stretch
Field Value
Type Description
UIImageTypes

Tiled

Draw image as tiles that cover the calculated destination rect.

Declaration
public const UIImageTypes Tiled
Field Value
Type Description
UIImageTypes

value__

Declaration
public int value__
Field Value
Type Description
System.Int32
Back to top Generated by DocFX