Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GradientStop - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GradientStop

    Defines the different colors and the regions of color transitions.

    Inheritance
    System.Object
    DiagramObject
    GradientStop
    Implements
    IDiagramObject
    System.ICloneable
    Inherited Members
    DiagramObject.OnPropertyChanged(String, Object, Object, IDiagramObject)
    DiagramObject.GetParent()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GradientStop : DiagramObject, IDiagramObject, ICloneable

    Constructors

    GradientStop()

    Initializes a new instance of the GradientStop.

    Declaration
    public GradientStop()

    GradientStop(GradientStop)

    Creates a new instance of the GradientStop from the given GradientStop.

    Declaration
    public GradientStop(GradientStop src)
    Parameters
    Type Name Description
    GradientStop src

    GradientStop.

    Properties

    Color

    Gets or sets the color to be filled over the specified region.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    Offset

    Gets or sets the position at which the previous color transition ends, and a new color transition starts.

    Declaration
    public Nullable<double> Offset { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Opacity

    Gets or sets the transparency level of the region.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    Clone()

    Creates a new object that is a copy of the current gradient stop.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    GradientStop

    Overrides
    DiagramObject.Clone()

    Implements

    IDiagramObject
    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved