---
title: "DoneSegment"
description: "A [PathSegment] containing the [Done][PathSegment.Type.Done] command. This static object exists
to avoid allocating a new segment when returning a [Done][PathSegment.Type.Done] result from
[PathIterator.next]."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val DoneSegment = PathSegment(PathSegment.Type.Done, FloatArray(0), 0.0f)
```


A `PathSegment` containing the `Done` command. This static object exists
to avoid allocating a new segment when returning a `Done` result from
`PathIterator.next`.



