# IShape interface

Namespace: [Grasshopper2.UI.Icon.Vector](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.icon.vector.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IShape : IStateDependent
```

Interface for vector icon shapes.

**Derived types:** [Arc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.arc.md), [Bow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.bow.md), [Box](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box.md), [Cir](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.cir.md), [Egg](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.egg.md), [Ink](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.ink.md), [Lin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.lin.md), [Que](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.que.md), [Run](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.run.md)

## Properties

- [SvgPathCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.ishape/svgpathcode.md): Create an SVG compliant path commands.

## Methods

- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.ishape/draw.md): Draw this element to a graphics object.
- [Glue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.ishape/glue.md): Append this element to a graphics path. This may not necessarily be possible with every kind of shape.

## Inherited Members

- From [IStateDependent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.istatedependent.md): [Update](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.istatedependent/update.md)
- From [IStorable](https://developer.rhino3d.com/api/gh2/type/grasshopperio.istorable.md): [Store](https://developer.rhino3d.com/api/gh2/type/grasshopperio.istorable/store.md)
