# VectorStyle 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
[IoId("00000000-e283-44d5-8989-24507ac33d90")]
public sealed class VectorStyle : IStateDependent
```

Collects and maintains the display styles of a vector icon element.

## Constructors

- [VectorStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/ctor.md): (2 overloads) Create a new style.

## Properties

- [Edge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/edge.md): Gets the edge associated with this element, if any.
- [Fill](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/fill.md): Gets the fill associated with this element, if any.
- [Order](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/order.md): Gets the draw order of fills and edges.

## Methods

- [AppendToSvgElement](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/appendtosvgelement.md)
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/store.md)
- [Update](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.vector.vectorstyle/update.md)
