Tesseract Engine Documentation

ImageDisplay Members

ImageDisplay overview

Public Instance Constructors

ImageDisplay Constructor Image display constructor. Scale defaults to 1.

Public Instance Fields

color (inherited from ScreenObject) Color of text element.
height (inherited from ScreenObject) Height of HUD element.
position (inherited from ScreenObject) Position of HUD element.
Size Contains the size of the image (source/scale) This is only different from Texture Dimension * scale when the source is changed... i.e. only on my health bars
stopWatch (inherited from ScreenObject) Stopwatch to regulate time limit
text (inherited from ScreenObject) Text string drawn to HUD.
timeLimit (inherited from ScreenObject) Time limit for the text display
type (inherited from ScreenObject) Type of HUD element.
visible (inherited from ScreenObject) Visibility of HUD element.
width (inherited from ScreenObject) Width of HUD element.
xScale X scale of image.
yScale Y scale of image.

Public Instance Properties

image Sets the image and defaults the source to the entire image
Source Changes the Source Rectangle

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ImageDisplay Class | DarkWynter.Engine.UserInterface Namespace