alexa
menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfGraphics

    Inheritance
    System.Object
    SfGraphics
    Namespace: Syncfusion.XForms.MacOS.Core
    Assembly: Syncfusion.Core.XForms.macOS.dll
    Syntax
    public class SfGraphics : NSGraphicsContext

    Constructors

    SfGraphics()

    Declaration
    public SfGraphics()

    Methods

    BeginImageContextWithOptions(CGSize, Boolean, nfloat)

    Declaration
    public static void BeginImageContextWithOptions(CGSize size, bool opaque, nfloat scale)
    Parameters
    Type Name Description
    CoreGraphics.CGSize size
    System.Boolean opaque
    System.nfloat scale

    EndImageContext()

    Declaration
    public static void EndImageContext()

    GetCurrentContext()

    Declaration
    public static CGContext GetCurrentContext()
    Returns
    Type
    CoreGraphics.CGContext

    GetImageFromCurrentImageContext()

    Declaration
    public static NSImage GetImageFromCurrentImageContext()
    Returns
    Type
    AppKit.NSImage

    PopContext()

    Declaration
    public static void PopContext()

    PushContext(CGContext)

    Declaration
    public static void PushContext(CGContext context)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved