# CustomDisplay class

Namespace: [Rhino.Display](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.display.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class CustomDisplay : IDisposable
```

Provides some basic (indeed, very basic) mechanisms for drawing custom geometry in viewports.

## Constructors

- [CustomDisplay](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/ctor.md): Constructs a new CustomDisplay instance. You must call Dispose() when you are done with this instance, otherwise the display methods will never be switched off.

## Properties

- [ClippingBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/clippingbox.md): Gets the clipping box of this CustomDisplay.
- [Enabled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/enabled.md): Gets or sets the Enabled state of this CustomDisplay instance. If you wish to terminate this CustomDisplay, place a call to Dispose() instead.
- [IsDisposed](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/isdisposed.md): Gets a value indicating whether this CustomDisplay instance has been disposed. Once a CustomDisplay has been disposed, you can no longer use it.

## Methods

- [AddArc](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addarc.md): (3 overloads) Adds a new, colored arc to the display list.
- [AddCircle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addcircle.md): (3 overloads) Adds a new, colored circle to the display list.
- [AddCurve](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addcurve.md): (3 overloads) Adds a new, colored curve to the display list. The curve will be duplicated so changes to the original will not affect the display.
- [AddLine](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addline.md): (3 overloads) Adds a new, colored line to the display list.
- [AddPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addpoint.md): (3 overloads) Adds a new stylized point to the display list.
- [AddPoints](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addpoints.md): (3 overloads) Adds a collection of stylized points to the display list.
- [AddPolygon](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addpolygon.md): Adds a polygon to the drawing list. Polygons are not like Hatches, when you supply a concave polygon, the shading probably won't work.
- [AddText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addtext.md): (3 overloads) Adds a new, colored 3D text object to the display list.
- [AddVector](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/addvector.md): (3 overloads) Adds a new, colored vector to the display list.
- [Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/clear.md): Clear the drawing lists.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.customdisplay/dispose.md): Dispose this CustomDisplay instance. You must call this function in order to properly shut down the CustomDisplay.
