Table of Contents

Class Image

Namespace
BSGameLib.UI.Builder.Models
Assembly
BSGameLib.UI.dll

The Image element of a view file.

public class Image : Control
Inheritance
Image
Inherited Members

Properties

Color

The tint applied to the image's texture.

public string Color { get; set; }

Property Value

string

Size

The image's size in pixels.

[Required]
public Size Size { get; set; }

Property Value

Size

SizeValue

The Size attribute's text form. See Size.

public string SizeValue { get; set; }

Property Value

string

Source

A picture by a name the game gives meaning to, such as a key into its art, or a binding to one. Drawn in place of Texture.

public string Source { get; set; }

Property Value

string

Texture

The texture the image draws when Source is not set.

public TextureReference Texture { get; set; }

Property Value

TextureReference