| RenderTransform Constructor (Vector2F, Single, Single, Vector2F, Vector2F, Single, Vector2F) |
Namespace: DigitalRune.Game.UI.RenderingAssembly: 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
)
Public Sub New (
position As Vector2F,
width As Single,
height As Single,
relativeOrigin As Vector2F,
scale As Vector2F,
rotation As Single,
translation As Vector2F
)
public:
RenderTransform(
Vector2F position,
float width,
float height,
Vector2F relativeOrigin,
Vector2F scale,
float rotation,
Vector2F translation
)
new :
position : Vector2F *
width : float32 *
height : float32 *
relativeOrigin : Vector2F *
scale : Vector2F *
rotation : float32 *
translation : Vector2F -> RenderTransform
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