Click or drag to resize
DigitalRuneRenderTransform Constructor (Vector2F, Single, Single, Vector2F, Vector2F, Single, Vector2F)
Initializes a new instance of the RenderTransform struct.

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 RenderTransform(
	Vector2F position,
	float width,
	float height,
	Vector2F relativeOrigin,
	Vector2F scale,
	float rotation,
	Vector2F translation
)

Parameters

position
Type: DigitalRune.Mathematics.AlgebraVector2F
The upper, left corner of the current element in screen coordinates.
width
Type: SystemSingle
The width of the element.
height
Type: SystemSingle
The height of the element.
relativeOrigin
Type: DigitalRune.Mathematics.AlgebraVector2F
The relative origin of the render transformation. (0, 0) represents the upper, left corner and (1, 1) represents the lower, right corner of the element.
scale
Type: DigitalRune.Mathematics.AlgebraVector2F
The scale factors.
rotation
Type: SystemSingle
The rotation angle in radians.
translation
Type: DigitalRune.Mathematics.AlgebraVector2F
The translation vector.
See Also