Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ChartGradientColor

    ChartGradientColor contains a collection of custom gradient colors to populate a gradient palette.

    Inheritance
    System.Object
    ChartGradientColor
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class ChartGradientColor : Object
    Remarks

    The StartPoint property and EndPoint property of ChartGradientColor is used to configure the direction of gradient color.

    Constructors

    ChartGradientColor()

    Declaration
    public ChartGradientColor()

    Properties

    EndPoint

    Gets or sets the ending two-dimensional coordinates of the linear gradient.

    Declaration
    public CGPoint EndPoint { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGPoint

    GradientStops

    Gets or sets the color and offset of a transition point in a gradient.

    Declaration
    public ChartGradientStopCollection GradientStops { get; set; }
    Property Value
    Type Description
    ChartGradientStopCollection

    StartPoint

    Gets or sets the starting two-dimensional coordinates of the linear gradient.

    Declaration
    public CGPoint StartPoint { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGPoint
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved