Nez.Portable/UI/Base/Element.cs
/// <summary>
/// Transforms the specified point in screen coordinates to the element's local coordinate system
/// </summary>
/// <returns>The to local coordinates.</returns>
/// <param name="screenCoords">Screen coords.</param>
Transforms the specified point in screen coordinates to the element's local coordinate system
Transforms the specified point in screen coordinates to the element ' s local coordinate system
public Vector2 screenToLocalCoordinates(Vector2 screenCoords)
        {
            if (stage == null)
                return screenCoords;
            return stageToLocalCoordinates(stage.screenToStageCoordinates(screenCoords));
        }
public Vector2 screenToLocalCoordinates ( Vector2 screenCoords ) { if ( stage == null ) return screenCoords ; return stageToLocalCoordinates ( stage . screenToStageCoordinates ( screenCoords ) ) ; }
Transforms the specified point in screen coordinates to the element's local coordinate system
Transforms the specified point in screen coordinates to the element ' s local coordinate system
The to local coordinates.
The to local coordinates .
screenCoords
Vector2
None