Rabbit-R1/switch port/java/sources/androidx/compose/ui/graphics/CanvasZHelper.java
2024-05-21 17:08:36 -04:00

23 lines
1.1 KiB
Java

package androidx.compose.ui.graphics;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: CanvasUtils.android.kt */
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0007¨\u0006\t"}, d2 = {"Landroidx/compose/ui/graphics/CanvasZHelper;", "", "()V", "enableZ", "", "canvas", "Landroid/graphics/Canvas;", "enable", "", "ui-graphics_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
final class CanvasZHelper {
public static final CanvasZHelper INSTANCE = new CanvasZHelper();
private CanvasZHelper() {
}
public final void enableZ(android.graphics.Canvas canvas, boolean enable) {
Intrinsics.checkNotNullParameter(canvas, "canvas");
if (enable) {
canvas.enableZ();
} else {
canvas.disableZ();
}
}
}