{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AndroidPathKt

public final class AndroidPathKt


Summary

Public methods

static final @NonNull Path
static final @NonNull Path

Convert the android.graphics.Path instance into a Compose-compatible Path

Public methods

asAndroidPath

public static final @NonNull Path asAndroidPath(@NonNull Path receiver)
Throws
kotlin.UnsupportedOperationException

if this Path is not backed by an android.graphics.Path

asComposePath

public static final @NonNull Path asComposePath(@NonNull Path receiver)

Convert the android.graphics.Path instance into a Compose-compatible Path