skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class LineSpecification

Parametrization of a polyline geometry which allows you to use multiple Points and bridges (using the Crossings data and the BridgeType). The method uses such specifications to create a concrete geometry.

Inheritance
System.Object
LineSpecification
PolylineSpecification
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: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll

Syntax

public class LineSpecification
Remarks

There are a few things to consider in relation to crossings:

  • None: the StartPoint and EndPoint will be used to define the start and end of the polyline. If some caps are used these points will be shifted if necessary so that the polyline makes space for the caps. This depends on the type of the cap.
  • Some bridge type:the Crossings data will define the start and end points, while the StartPoint and EndPoint will be irrelevant in this case.

Constructors

LineSpecification()

Initializes a new instance of the LineSpecification class.

Declaration
public LineSpecification()

Properties

BezierTension

Gets or sets the Bezier tension.

Declaration
public double BezierTension { get; set; }
Property Value
System.Double

A value or zero turns the Bezier connection into a straight line, a value of one and above increase the sharpness of the Bezier curve.

Bounds

Gets or sets the bounds of the connection.

Declaration
public Rect Bounds { get; set; }
Property Value
Rect

BridgeType

Gets or sets the type of the bridge or crossing.

Declaration
public BridgeType BridgeType { get; set; }
Property Value
BridgeType

ConnectionType

Gets or sets the type of the connection.

Declaration
public ConnectionType ConnectionType { get; set; }
Property Value
ConnectionType

The type of the connection.

Crossings

Gets or sets the crossings data.

Declaration
public CrossingsData Crossings { get; set; }
Property Value
CrossingsData

EndPoint

Gets or sets the end point.

Declaration
public Point EndPoint { get; set; }
Property Value
Point

Remarks

This position is with respect to the local coordinate system (of the connection).

Points

Gets or sets the intermediate connection points.

Declaration
public IList<Point> Points { get; set; }
Property Value
System.Collections.Generic.IList<Point>

Remarks

Do NOT include the start/end points.

RoundedCorners

Gets or sets the corners should be rounded.

Declaration
public bool RoundedCorners { get; set; }
Property Value
System.Boolean

true if [rounded corners]; otherwise, false.

StartPoint

Gets or sets the start point.

Declaration
public Point StartPoint { get; set; }
Property Value
Point

Remarks

This position is with respect to the local coordinate system (of the connection).

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.