Click or drag to resize
DigitalRuneUIRendererRenderImage Method
Renders a ThemeImage.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public void RenderImage(
	RectangleF bounds,
	ThemeImage image,
	float opacity,
	RenderTransform transform
)

Parameters

bounds
Type: DigitalRune.Game.UIRectangleF
The control's bounding rectangle.
image
Type: DigitalRune.Game.UI.RenderingThemeImage
The image.
opacity
Type: SystemSingle
The opacity.
transform
Type: DigitalRune.Game.UI.RenderingRenderTransform
The render transform.
Remarks
This method uses the image properties (alignment, margin, etc.) and the render transformation to render the image into the target (bounds).
See Also