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

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


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

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


```kotlin
val CloseSegment = PathSegment(PathSegment.Type.Close, FloatArray(0), 0.0f)
```


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



