mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 01:47:17 +01:00
39 lines
1.9 KiB
Java
39 lines
1.9 KiB
Java
package androidx.graphics.path;
|
|
|
|
import androidx.graphics.path.PathSegment;
|
|
import defpackage.a$$ExternalSyntheticOutline0;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import rx.Single$$ExternalSyntheticBUOutline0;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0014\n\u0000\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\u001a\u0010\u0010\u0004\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0006H\u0002\"\u0016\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001X\u0082\u0004¢\u0006\u0004\n\u0002\u0010\u0003¨\u0006\u0007"}, d2 = {"PathSegmentTypes", "", "Landroidx/graphics/path/PathSegment$Type;", "[Landroidx/graphics/path/PathSegment$Type;", "platformToAndroidXSegmentType", "platformType", "", "graphics-path_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes14.dex */
|
|
public final class PathIteratorImplKt {
|
|
|
|
@NotNull
|
|
private static final PathSegment.Type[] PathSegmentTypes = PathSegment.Type.values();
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final PathSegment.Type platformToAndroidXSegmentType(int i) {
|
|
switch (i) {
|
|
case 0:
|
|
return PathSegment.Type.Move;
|
|
case 1:
|
|
return PathSegment.Type.Line;
|
|
case 2:
|
|
return PathSegment.Type.Quadratic;
|
|
case 3:
|
|
return PathSegment.Type.Conic;
|
|
case 4:
|
|
return PathSegment.Type.Cubic;
|
|
case 5:
|
|
return PathSegment.Type.Close;
|
|
case 6:
|
|
return PathSegment.Type.Done;
|
|
default:
|
|
Single$$ExternalSyntheticBUOutline0.m$3(a$$ExternalSyntheticOutline0.m(i, "Unknown path segment type "));
|
|
return null;
|
|
}
|
|
}
|
|
}
|