Sets the new position of the image according to the current value of mTouchPosToSizeRatio

Namespace: SimpleLibrary
Assembly: SimpleLibrary (in SimpleLibrary.dll) Version: 1.0.0.0

Syntax

C#
protected void SetPositionByRatio(
	Vector2 newPos
)
Visual Basic
Protected Sub SetPositionByRatio ( _
	newPos As Vector2 _
)
Visual C++
protected:
void SetPositionByRatio(
	Vector2 newPos
)

Parameters

newPos
Type: Vector2
new image position

See Also