viewToSourceCoord

public final PointF viewToSourceCoord(PointF vxy)

Convert screen coordinate to source coordinate.

Return

a coordinate representing the corresponding source coordinate.

Parameters

vxy

view X/Y coordinate.


public final PointF viewToSourceCoord(PointF vxy, PointF sTarget)

Convert screen coordinate to source coordinate.

Return

source coordinates. This is the same instance passed to the sTarget param.

Parameters

vxy

view coordinates to convert.

sTarget

target object for result. The same instance is also returned.


public final PointF viewToSourceCoord(float vx, float vy, PointF sTarget)

Convert screen coordinate to source coordinate.

Return

source coordinates. This is the same instance passed to the sTarget param.

Parameters

vx

view X coordinate.

vy

view Y coordinate.

sTarget

target object for result. The same instance is also returned.


public final PointF viewToSourceCoord(float vx, float vy)

Convert screen coordinate to source coordinate.

Return

a coordinate representing the corresponding source coordinate.

Parameters

vx

view X coordinate.

vy

view Y coordinate.