Compose Unstyled 2.0 is out! Check the official announcement blog ->
Property

DoneSegment

A PathSegment containing the DonePathSegment.Type.Done command.

Source set: Common
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.

Last updated: