Blazor

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

    Show / Hide Table of Contents

    Class GradientBrush

    Defines a smooth transition from one color to the next while painting the node.

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

    Constructors

    GradientBrush()

    Initializes a new instance of the Gradient.

    Declaration
    protected GradientBrush()

    GradientBrush(GradientBrush)

    Creates a new instance of the GradientBrush from the given Gradient.

    Declaration
    protected GradientBrush(GradientBrush src)
    Parameters
    Type Name Description
    GradientBrush src

    Gradient.

    Properties

    GradientStops

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

    Declaration
    public DiagramObjectCollection<GradientStop> GradientStops { get; set; }
    Property Value
    Type Description
    DiagramObjectCollection<GradientStop>

    Implements

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