Click or drag to resize
DigitalRuneUIControlRenderTransform Property
Gets the render transformation.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public RenderTransform RenderTransform { get; }

Property Value

Type: RenderTransform
The render transformation.
Remarks

Render transforms scales, rotates and translates the control. This can be used for animations, but it should be used sparingly since it costs performance. When handling input (e.g. mouse clicks) the render transform is considered and, for example, rotated buttons can be clicked normally.

The render transformation is defined using the properties RenderTransformOrigin, RenderScale, RenderRotation, and RenderTranslation.

See Also