# Style class

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

```cs
[IoId("00000000-54d3-4f3a-82eb-2e3330c2bf21")]
public sealed class Style : IStorable
```

The styling attributes for canvas shapes.

## Constructors

- [Style](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/ctor.md): (2 overloads)

## Properties

- [ArrowFactor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/arrowfactor.md): Gets the arrow head size.
- [ArrowHead](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/arrowhead.md): Gets the arrow head state. 1 == arrow at start. 2 == arrow at end. 3 == arrow at both ends. other == no arrow heads.
- [ArrowSize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/arrowsize.md): Compute the actual size of the arrowheads. This equals the product of the stroke and the arrow factor.
- [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/colour.md): Gets the colour for this shape.
- [Double](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/double.md): Gets whether to draw this shape with doubled strokes.
- [Stroke](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/stroke.md): Gets the edge stroke width.

## Methods

- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/store.md)
- [WithArrowHead](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/witharrowhead.md)
- [WithArrowSize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/witharrowsize.md)
- [WithColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/withcolour.md)
- [WithDoubling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/withdoubling.md)
- [WithEdgeStroke](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.style/withedgestroke.md)
