Sets the selected position to image dimension ratio

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

Syntax

C#
protected void SetSizeRatioByPosition(
	Vector2 pos
)
Visual Basic
Protected Sub SetSizeRatioByPosition ( _
	pos As Vector2 _
)
Visual C++
protected:
void SetSizeRatioByPosition(
	Vector2 pos
)

Parameters

pos
Type: Vector2
This is the position that selected the image

See Also