menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class Shadow

    Inheritance
    System.Object
    EJTagHelper
    Shadow
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class Shadow : EJTagHelper

    Constructors

    Shadow()

    Initializes a new instance of the Shadow class.

    Declaration
    public Shadow()

    Properties

    Angle

    Gets or sets the angle of the shadow relative to node

    Declaration
    [JsonProperty("angle")]
    public int Angle { get; set; }
    Property Value
    Type Description
    System.Int32

    45

    Examples
               DiagramProperties Model = new DiagramProperties();
               Shadow Shadow = new Shadow();
               Shadow.Opacity = .5f;
               Shadow.Distance = 10;
               Shadow.Angle = 45;
               BasicShape Node = new BasicShape() { Name = "SwimLane", Shadow = 23 };
               Model.Nodes.Add(Node);

    Distance

    Gets or sets the distance to move the shadow relative to node

    Declaration
    [JsonProperty("distance")]
    public int Distance { get; set; }
    Property Value
    Type Description
    System.Int32

    5

    Examples
               DiagramProperties Model = new DiagramProperties();
               Shadow Shadow = new Shadow();
               Shadow.Opacity = .5f;
               Shadow.Distance = 10;
               Shadow.Angle = 45;
               BasicShape Node = new BasicShape() { Name = "SwimLane", Shadow = 23 };
               Model.Nodes.Add(Node);

    Opacity

    Gets or sets the opaque of the shadow

    Declaration
    [JsonProperty("opacity")]
    public float Opacity { get; set; }
    Property Value
    Type Description
    System.Single

    .7f

    Examples
               DiagramProperties Model = new DiagramProperties();
               Shadow Shadow = new Shadow();
               Shadow.Opacity = .5f;
               Shadow.Distance = 10;
               Shadow.Angle = 45;
               BasicShape Node = new BasicShape() { Name = "SwimLane", Shadow = 23 };
               Model.Nodes.Add(Node);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved