System.Drawing.Graphics.FromContext C# (CSharp) Method

FromContext() public static method

public static FromContext ( CGContext context ) : Graphics
context CGContext
return Graphics
        public static Graphics FromContext(CGContext context)
        {
            return new Graphics (context, UIScreen.MainScreen.Scale);
        }

Same methods

Graphics::FromContext ( CGContext context, float screenScale ) : Graphics
Graphics::FromContext ( NSGraphicsContext context ) : Graphics