Class Line
The path of the connector is defined with a collection of segments. It is used to define whether the connector segment type is straight, orthogonal, or Bezier.
Inherited Members
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
[Obsolete("Use Segment")]
public class Line : EJTagHelper
Constructors
Line()
Declaration
[Obsolete("Use Segment()")]
public Line()
Line(Lines)
Declaration
[Obsolete("Use Segment()")]
public Line(Lines type)
Parameters
Type | Name | Description |
---|---|---|
Lines | type |
Line(Lines, DiagramPoint, DiagramPoint)
Declaration
[Obsolete("Use Segment()")]
public Line(Lines type, DiagramPoint startPoint, DiagramPoint endPoint)
Parameters
Type | Name | Description |
---|---|---|
Lines | type | |
DiagramPoint | startPoint | |
DiagramPoint | endPoint |
Properties
EndPoint
Declaration
[Obsolete("Use Connector.TargetPoint")]
[JsonProperty("endPoint")]
public DiagramPoint EndPoint { get; set; }
Property Value
Type | Description |
---|---|
DiagramPoint |
Point1
Declaration
[Obsolete("Use Segment.Point1")]
[JsonProperty("point1")]
public DiagramPoint Point1 { get; set; }
Property Value
Type | Description |
---|---|
DiagramPoint |
Point2
Declaration
[Obsolete("Use Segment.Point2")]
[JsonProperty("point2")]
public DiagramPoint Point2 { get; set; }
Property Value
Type | Description |
---|---|
DiagramPoint |
StartPoint
Declaration
[JsonProperty("startPoint")]
[Obsolete("Use Connector.SourcePoint")]
public DiagramPoint StartPoint { get; set; }
Property Value
Type | Description |
---|---|
DiagramPoint |
Type
Declaration
[JsonProperty("type")]
[Obsolete("Use Segment.Type")]
[JsonConverter(typeof(StringEnumConverter))]
public Lines Type { get; set; }
Property Value
Type | Description |
---|---|
Lines |