Rabbit-R1/android (non root)/java/sources/com/google/android/material/shape/OffsetEdgeTreatment.java
2024-05-21 17:08:36 -04:00

23 lines
799 B
Java

package com.google.android.material.shape;
/* loaded from: classes2.dex */
public final class OffsetEdgeTreatment extends EdgeTreatment {
private final float offset;
private final EdgeTreatment other;
public OffsetEdgeTreatment(EdgeTreatment edgeTreatment, float f) {
this.other = edgeTreatment;
this.offset = f;
}
@Override // com.google.android.material.shape.EdgeTreatment
public void getEdgePath(float f, float f2, float f3, ShapePath shapePath) {
this.other.getEdgePath(f, f2 - this.offset, f3, shapePath);
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.material.shape.EdgeTreatment
public boolean forceIntersection() {
return this.other.forceIntersection();
}
}