mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 17:37:16 +01:00
25 lines
882 B
Java
25 lines
882 B
Java
package com.google.android.material.shape;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
public final class OffsetEdgeTreatment extends EdgeTreatment {
|
|
private final float offset;
|
|
private final EdgeTreatment other;
|
|
|
|
public OffsetEdgeTreatment(@NonNull EdgeTreatment edgeTreatment, float f) {
|
|
this.other = edgeTreatment;
|
|
this.offset = f;
|
|
}
|
|
|
|
@Override // com.google.android.material.shape.EdgeTreatment
|
|
public boolean forceIntersection() {
|
|
return this.other.forceIntersection();
|
|
}
|
|
|
|
@Override // com.google.android.material.shape.EdgeTreatment
|
|
public void getEdgePath(float f, float f2, float f3, @NonNull ShapePath shapePath) {
|
|
this.other.getEdgePath(f, f2 - this.offset, f3, shapePath);
|
|
}
|
|
}
|