# CanvasPaintEventArgs class

Namespace: [Grasshopper2.UI.Canvas](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.canvas.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class CanvasPaintEventArgs : EventArgs
```

Standard canvas paint event arguments.

**Derived types:** [CanvasBackgroundPaintEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.canvasbackgroundpainteventargs.md)

## Constructors

- [CanvasPaintEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.canvaspainteventargs/ctor.md)

## Properties

- [Canvas](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.canvaspainteventargs/canvas.md): Gets the canvas associated with this paint event.
- [Graphics](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.canvaspainteventargs/graphics.md): Gets the control graphics to use.
- [Skin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.canvaspainteventargs/skin.md): Gets the skin associated with this paint cycle.
