The UIRenderer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UIRenderer(Game, Theme) |
Initializes a new instance of the UIRenderer class.
(Not available in Silverlight.)
| |
| UIRenderer(GraphicsDevice, Theme) |
Initializes a new instance of the UIRenderer class.
|
Methods
| Name | Description | |
|---|---|---|
| BeginBatch |
Calls SpriteBatch.Begin of the SpriteBatch with default
settings.
| |
| EndBatch |
Calls SpriteBatch.End of the SpriteBatch to commit the
current batch.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttribute<(Of <<'(T>)>>) |
Gets a style-specific attribute value.
| |
| GetCursor |
Gets a mouse cursor.
| |
| GetFont |
Gets a sprite font.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetTexture |
Gets a texture.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnParseAttribute<(Of <<'(T>)>>) |
Called by GetAttribute<(Of <<'(T>)>>)(String, String, T%) to convert attributes to values.
| |
| Render |
Renders the specified control.
| |
| RenderImage |
Renders a ThemeImage.
| |
| RenderImages |
Renders the ThemeImages of the current visual state of the given context.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| GraphicsDevice |
Gets the graphics device.
| |
| RenderCallbacks |
Gets the render callbacks.
| |
| SpriteBatch |
Gets the sprite batch that is used to draw all images for the UI controls.
| |
| Templates |
Gets the UI control templates that define the game object properties for the different
styles.
| |
| Theme |
Gets the UI theme.
| |
| WhiteTexture |
Gets a white 1x1 texture.
|