Class Edge
  
  
  
  
  
  
  
  Assembly: UnityEditor.dll
  Syntax
  
    public class Edge : GraphElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, ISelectable
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Edge()
  
  
  Declaration
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  candidatePosition
  
  
  Declaration
  
    public Vector2 candidatePosition { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  defaultColor
  
  
  Declaration
  
    public Color defaultColor { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  edgeControl
  
  
  Declaration
  
    public EdgeControl edgeControl { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  edgeWidth
  
  
  Declaration
  
    public int edgeWidth { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ghostColor
  
  
  Declaration
  
    public Color ghostColor { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public Port input { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  isGhostEdge
  
  
  Declaration
  
    public bool isGhostEdge { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  output
  
  
  Declaration
  
    public Port output { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PointsAndTangents
  
  
  Declaration
  
    protected Vector2[] PointsAndTangents { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  selectedColor
  
  
  Declaration
  
    public Color selectedColor { get; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ContainsPoint(Vector2)
  
  
  Declaration
  
    public override bool ContainsPoint(Vector2 localPoint)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector2 | localPoint |  | 
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CreateEdgeControl()
  
  
  Declaration
  
    protected virtual EdgeControl CreateEdgeControl()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DoRepaint(IStylePainter)
  
  
  Declaration
  
    protected override void DoRepaint(IStylePainter painter)
   
  Parameters
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrawEdge()
  
  
  Declaration
  
    protected virtual void DrawEdge()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnPortChanged(Boolean)
  
  
  Declaration
  
    public virtual void OnPortChanged(bool isInput)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Boolean | isInput |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnStyleResolved(ICustomStyle)
  
  
  Declaration
  
    protected override void OnStyleResolved(ICustomStyle styles)
   
  Parameters
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Overlaps(Rect)
  
  
  Declaration
  
    public override bool Overlaps(Rect rectangle)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Rect | rectangle |  | 
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UpdateEdgeControl()
  
  
  Declaration
  
    public bool UpdateEdgeControl()
   
  Returns
  
  Implements
  
  
  
  
  
  
  
  
  Extension Methods