| UIRendererRenderImage Method |
Namespace: DigitalRune.Game.UI.RenderingAssembly: 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
)
Public Sub RenderImage (
bounds As RectangleF,
image As ThemeImage,
opacity As Single,
transform As RenderTransform
)
public:
void RenderImage(
RectangleF bounds,
ThemeImage^ image,
float opacity,
RenderTransform transform
)
member RenderImage :
bounds : RectangleF *
image : ThemeImage *
opacity : float32 *
transform : RenderTransform -> unit
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