# AnimatedPath class

Namespace: [Grasshopper2.UI.Animation](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.animation.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class AnimatedPath
```

Encodes a (collection of) path(s) which can be animated as though being drawn.

## Constructors

- [AnimatedPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/ctor.md): (2 overloads) Create a new empty path.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/count.md): Gets the number of strokes in this path.
- [Gaps](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/gaps.md): Gets the number of gaps in this path.

## Methods

- [AddArc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/addarc.md): Add an arc to this path.
- [AddCircle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/addcircle.md): Add a circle to this path.
- [AddGap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/addgap.md): Add a gap to this path.
- [AddLine](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/addline.md): (2 overloads) Add a line to this path.
- [AddLines](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/addlines.md): Add a polyline to this path.
- [CreateErrorPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/createerrorpath.md): (static) Create the standard x-shaped path used to signal errors or failures.
- [CreateMessagePath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/createmessagepath.md): (static) Create the standard vague-shaped path used to signal generic messages.
- [CreateSuccessPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/createsuccesspath.md): (static) Create the standard check-shaped path used to signal warnings.
- [CreateWarningPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/createwarningpath.md): (static) Create the standard exclamation-shaped path used to signal warnings.
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.animation.animatedpath/draw.md): (4 overloads) Draw this path using an animation key.
