Class Image
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
Size
The image's size in pixels.
[Required]
public Size Size { get; set; }
Property Value
SizeValue
The Size attribute's text form. See Size.
public string SizeValue { get; set; }
Property Value
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
Texture
The texture the image draws when Source is not set.
public TextureReference Texture { get; set; }