# Box class

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 abstract class Box : IShape
```

Represents a rectangle used in a vector icon.

## Constructors

- [Box](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/ctor.md): (2 overloads)

## Properties

- [SvgPathCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/svgpathcode.md)
- [Value](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/value.md)

## Methods

- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/draw.md)
- [Glue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/glue.md)
- [Make](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/make.md): (3 overloads, static) Create a rectangle from centre, width and height.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/store.md)
- [Update](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/update.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.box/op-implicit.md): (static) Create a new constant rectangle.
