# GH_Painter class

Namespace: [Grasshopper.GUI.Canvas](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.canvas.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Painter
```

This class performs most of the drawing operations required for Grasshopper Canvas controls.

## Constructors

- [GH_Painter](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/ctor.md): Constructor.

## Methods

- [ConnectionPath](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/connectionpath.md): (static)
- [ConnectionPathBezier](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/connectionpathbezier.md): (static)
- [ConnectionVisible](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/connectionvisible.md): Test whether a wire ought to be drawn at all.
- [DetermineWireType](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/determinewiretype.md): (static) Utility method for determining wire display types.
- [DrawBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawbackground.md)
- [DrawConnection](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawconnection.md)
- [DrawMiddleGround](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawmiddleground.md)
- [DrawNoDocumentMessage](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawnodocumentmessage.md)
- [DrawNULLBuffer](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawnullbuffer.md)
- [DrawPivots](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawpivots.md)
- [DrawRecipientLinks](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawrecipientlinks.md): (2 overloads)
- [DrawStateFlags](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/drawstateflags.md)
- [GenerateWirePen_Fill](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-painter/generatewirepen-fill.md)
