GH_Attributes(T).RenderIncomingWires Method (GH_Painter, IEnumerable(IGH_Param), IEnumerable(Pen))

GH_AttributesTRenderIncomingWires Method (GH_Painter, IEnumerableIGH_Param, IEnumerablePen)

Utility function for derived classes. This method draws all the wires going into the left side of the attributes.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
protected void RenderIncomingWires(
	GH_Painter painter,
	IEnumerable<IGH_Param> sources,
	IEnumerable<Pen> styles
)
Protected Sub RenderIncomingWires ( 
	painter As GH_Painter,
	sources As IEnumerable(Of IGH_Param),
	styles As IEnumerable(Of Pen)
)

Parameters

painter
Type: Grasshopper.GUI.CanvasGH_Painter
The graphics object to paint with
sources
Type: System.Collections.GenericIEnumerableIGH_Param
A list of sources that will be connected with the input grip of this attribute
styles
Type: System.Collections.GenericIEnumerablePen
A collection of pen objects to use for each source. If a pen is null, the default wire style will be used instead.
See Also