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

Path.Companion

public static class Path.Companion


Summary

Public methods

static final @NonNull Path
combine(
    @NonNull PathOperation operation,
    @NonNull Path path1,
    @NonNull Path path2
)

Combines the two paths according to the manner specified by the given operation.

Public methods

combine

public static final @NonNull Path combine(
    @NonNull PathOperation operation,
    @NonNull Path path1,
    @NonNull Path path2
)

Combines the two paths according to the manner specified by the given operation.

The resulting path will be constructed from non-overlapping contours. The curve order is reduced where possible so that cubics may be turned into quadratics, and quadratics maybe turned into lines.

Throws IllegalArgumentException as Android framework does not support this API