The UIRenderer type exposes the following members.

Constructors

  NameDescription
Public methodUIRenderer(Game, Theme)
Initializes a new instance of the UIRenderer class. (Not available in Silverlight.)
Public methodUIRenderer(GraphicsDevice, Theme)
Initializes a new instance of the UIRenderer class.

Methods

  NameDescription
Public methodBeginBatch
Calls SpriteBatch.Begin of the SpriteBatch with default settings.
Public methodEndBatch
Calls SpriteBatch.End of the SpriteBatch to commit the current batch.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAttribute<(Of <<'(T>)>>)
Gets a style-specific attribute value.
Public methodGetCursor
Gets a mouse cursor.
Public methodGetFont
Gets a sprite font.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTexture
Gets a texture.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnParseAttribute<(Of <<'(T>)>>)
Called by GetAttribute<(Of <<'(T>)>>)(String, String, T%) to convert attributes to values.
Public methodRender
Renders the specified control.
Public methodRenderImage
Renders a ThemeImage.
Public methodRenderImages
Renders the ThemeImages of the current visual state of the given context.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyGraphicsDevice
Gets the graphics device.
Public propertyRenderCallbacks
Gets the render callbacks.
Public propertySpriteBatch
Gets the sprite batch that is used to draw all images for the UI controls.
Public propertyTemplates
Gets the UI control templates that define the game object properties for the different styles.
Public propertyTheme
Gets the UI theme.
Public propertyWhiteTexture
Gets a white 1x1 texture.

See Also