menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PolyLineTool - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PolyLineTool

    The polyline tool is used for adding/drawing graphical representation object of a polyline connector in Diagram control.

    Inheritance
    System.Object
    Tool
    UITool
    PolyLineBase
    PolyLineTool
    Implements
    System.IDisposable
    Inherited Members
    PolyLineBase.Abort()
    PolyLineBase.AddPoint()
    PolyLineBase.c_nMIN_NODE_POINTS
    PolyLineBase.CanCompleteAction(MouseEventArgs)
    PolyLineBase.CheckConnectionPossibility(PointF, Boolean, Boolean)
    PolyLineBase.CompleteAction(PointF[])
    PolyLineBase.Dispose()
    PolyLineBase.GetLastPathPointPosition()
    PolyLineBase.HeadDecorator
    PolyLineBase.OnOriginChanged(ViewOriginEventArgs)
    PolyLineBase.Points
    PolyLineBase.ProcessDoubleClick(MouseEventArgs)
    PolyLineBase.ProcessMouseDown(MouseEventArgs)
    PolyLineBase.ProcessMouseMove(MouseEventArgs)
    PolyLineBase.ProcessMouseUp(MouseEventArgs)
    PolyLineBase.RenderingHelper
    PolyLineBase.SetDecorator(LineBase)
    PolyLineBase.TailDecorator
    PolyLineBase.UpdateHelperNode()
    PolyLineBase.UpdateWorkRect()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Tool.ActionCursor
    Tool.ActivateTool()
    Tool.AppendParentTransformations(PointF, Node)
    Tool.ApplyDecorator(Decorator, Decorator)
    Tool.CanAddNode(Rectangle)
    Tool.CanInsert(Node)
    Tool.CanRender
    Tool.CheckBoundaryConstraints(Node, Matrix)
    Tool.CheckConnectionCenterPort(PointF)
    Tool.CheckConnectionPossibility(PointF)
    Tool.Controller
    Tool.CurrentCursor
    Tool.CurrentPoint
    Tool.CurrentToolCursor
    Tool.DeactivateTool()
    Tool.DrawFrameAroundPort(Graphics, ConnectionPoint)
    Tool.DrawRenderHelper(Node, Graphics)
    Tool.DrawRenderHelper(Node, Graphics, Rectangle)
    Tool.GetCurrentPoint(Boolean)
    Tool.GetEndPointLocation(ConnectionPoint, PointF)
    Tool.GetFrameRectangle(Boolean)
    Tool.GetFullRotationAngle(Node)
    Tool.GetInsideNodeAt(PointF)
    Tool.GetLocalPoint(Node, PointF)
    Tool.GetNodeUnderEndPoint(PointF)
    Tool.GetOriginOffset()
    Tool.GetPointOffset(PointF, Node)
    Tool.GetPortBounds(ConnectionPoint, Single)
    Tool.GetSelectionList()
    Tool.GetSnapCurrentPoint()
    Tool.GetSnapStartPoint()
    Tool.GetStartPoint(Boolean)
    Tool.HighlightCenterPortContainer(Graphics, ConnectionPoint)
    Tool.InAction
    Tool.m_ConnectorSourceEventArgs
    Tool.m_ConnectorTargetEventArgs
    Tool.m_ptStartOrigin
    Tool.m_rulerDisplayRect
    Tool.m_toolPreceding
    Tool.MakeControlNodeSnapshot(ControlNode)
    Tool.Name
    Tool.OnConnectorChanging(EndPointChangingEventArgs)
    Tool.OutlineConnectionPoint(Graphics, ConnectionPoint)
    Tool.PrecedingTool
    Tool.ProcessClick()
    Tool.ProcessKeyDown(KeyEventArgs)
    Tool.ProcessKeyPress(KeyPressEventArgs)
    Tool.ProcessKeyUp(KeyEventArgs)
    Tool.QuiteBoundarySet(Boolean)
    Tool.QuiteBridgingSet(Boolean)
    Tool.RulerHeight
    Tool.SingleActionTool
    Tool.SmartSnap(PointF, SizeF)
    Tool.SnapToPort(PointF, SizeF)
    Tool.SnapToPort(PointF, SizeF, Node)
    Tool.StartPoint
    Tool.ToolCursor
    Tool.ToolWorkRect
    Tool.UpdateConnnectorChangeEvent(IEndPointContainer, ConnectionPoint, ConnectionPoint)
    Tool.UpdateCursor(Boolean)
    Tool.UpdatePortRefreshRect(ConnectionPoint, Rectangle)
    Tool.WorkRect
    Tool.WorkRectPrev
    UITool.CanActivateControlPointMoveTools(PointF)
    UITool.CanActivateEndPointMoveTools(PointF)
    UITool.CanActivateLineSegmentTool(PathNode, PointF)
    UITool.CanActivateMoveTool(PointF)
    UITool.CanActivatePinMoveTool(Point)
    UITool.CanActivatePinMoveTool(PointF)
    UITool.CanActivateResizeTool(Point)
    UITool.CanActivateResizeTool(PointF)
    UITool.CanActivateRotateTool(Point)
    UITool.CanActivateRotateTool(PointF)
    UITool.CanActivateSegmentRelatingTools(Point)
    UITool.CanActivateSegmentRelatingTools(PointF)
    UITool.CanActivateVertexDeleteCommand(PathNode)
    UITool.CanActivateVertexInsertCommand(PathNode, PointF)
    UITool.CanActivateVertexMoveTool(PathNode, PointF)
    UITool.CanActivateVertexRelatingTools(Point)
    UITool.CanActivateVertexRelatingTools(PointF)
    UITool.Check(Point)
    UITool.Check(PointF)
    UITool.GetCursor(BoxPosition, Node)
    UITool.IsVertexEditMode(Node)
    UITool.PerformHandleMove(MouseEventArgs)
    UITool.PerformLineSegmentMove(MouseEventArgs)
    UITool.PerformMove(MouseEventArgs)
    UITool.PerformPinMove(MouseEventArgs)
    UITool.PerformResize(MouseEventArgs)
    UITool.PerformRotate(MouseEventArgs)
    UITool.PerformVertexMove(MouseEventArgs)
    UITool.ToolToActivate
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public class PolyLineTool : PolyLineBase, IDisposable
    Remarks

    Tool

    Constructors

    PolyLineTool(DiagramController)

    Initializes a new instance of the PolyLineTool class.

    Declaration
    public PolyLineTool(DiagramController controller)
    Parameters
    Type Name Description
    DiagramController controller

    The controller.

    Methods

    CreateNode(PointF[])

    Creates Polyline derived node.

    Declaration
    protected override Node CreateNode(PointF[] pts)
    Parameters
    Type Name Description
    System.Drawing.PointF[] pts

    points to create polyline derived node from.

    Returns
    Type Description
    Node

    The node

    Overrides
    PolyLineBase.CreateNode(PointF[])

    CreatePath(PointF[])

    Creates Node's GraphicsPath from given points.

    Declaration
    protected override GraphicsPath CreatePath(PointF[] pts)
    Parameters
    Type Name Description
    System.Drawing.PointF[] pts

    points to create path from

    Returns
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    path created from given points

    Overrides
    PolyLineBase.CreatePath(PointF[])

    Draw(Graphics)

    Draws the specified graphics.

    Declaration
    public override void Draw(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on.

    Overrides
    PolyLineBase.Draw(Graphics)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved