Object

PathNode.Close

Closes the current subpath by drawing a straight line from the current point to the initial point of the subpath.

Source set: Common
@Immutable public object Close : PathNode()

Closes the current subpath by drawing a straight line from the current point to the initial point of the subpath. RelativeClose and Close are considered the same internally, so we represent both with Close for simplicity and to make equals comparisons robust.

Corresponds to the Z or z path data commands.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: