- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
54 lines
1.7 KiB
Java
54 lines
1.7 KiB
Java
package androidx.core.graphics;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.graphics.Path;
|
|
import androidx.annotation.RequiresApi;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
@SuppressLint({"ClassVerificationFailure"})
|
|
@SourceDebugExtension({"SMAP\nPath.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Path.kt\nandroidx/core/graphics/PathKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,62:1\n39#1:64\n1#2:63\n1#2:65\n*S KotlinDebug\n*F\n+ 1 Path.kt\nandroidx/core/graphics/PathKt\n*L\n48#1:64\n48#1:65\n*E\n"})
|
|
/* loaded from: classes.dex */
|
|
public final class PathKt {
|
|
@RequiresApi(26)
|
|
public static final Iterable<PathSegment> flatten(Path path, float f) {
|
|
return PathUtils.flatten(path, f);
|
|
}
|
|
|
|
public static /* synthetic */ Iterable flatten$default(Path path, float f, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = 0.5f;
|
|
}
|
|
return flatten(path, f);
|
|
}
|
|
|
|
public static final Path or(Path path, Path path2) {
|
|
Path path3 = new Path(path);
|
|
path3.op(path2, Path.Op.UNION);
|
|
return path3;
|
|
}
|
|
|
|
public static final Path plus(Path path, Path path2) {
|
|
Path path3 = new Path(path);
|
|
path3.op(path2, Path.Op.UNION);
|
|
return path3;
|
|
}
|
|
|
|
public static final Path minus(Path path, Path path2) {
|
|
Path path3 = new Path(path);
|
|
path3.op(path2, Path.Op.DIFFERENCE);
|
|
return path3;
|
|
}
|
|
|
|
public static final Path and(Path path, Path path2) {
|
|
Path path3 = new Path();
|
|
path3.op(path, path2, Path.Op.INTERSECT);
|
|
return path3;
|
|
}
|
|
|
|
public static final Path xor(Path path, Path path2) {
|
|
Path path3 = new Path(path);
|
|
path3.op(path2, Path.Op.XOR);
|
|
return path3;
|
|
}
|
|
}
|