SFML.Net
TransformTranslate Method (Single, Single) |
Combine the current transform with a translation.
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public void Translate( float x, float y )
Public Sub Translate ( x As Single, y As Single )
public: void Translate( float x, float y )
member Translate : x : float32 * y : float32 -> unit
Parameters
- x
- Type: SystemSingle
Offset to apply on X axis - y
- Type: SystemSingle
Offset to apply on Y axis
