Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.maps.model;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class CustomCap extends Cap {
|
||||
public final BitmapDescriptor bitmapDescriptor;
|
||||
public final float refWidth;
|
||||
|
||||
public CustomCap(BitmapDescriptor bitmapDescriptor) {
|
||||
this(bitmapDescriptor, 10.0f);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.model.Cap
|
||||
public String toString() {
|
||||
return "[CustomCap: bitmapDescriptor=" + String.valueOf(this.bitmapDescriptor) + " refWidth=" + this.refWidth + "]";
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
public CustomCap(BitmapDescriptor bitmapDescriptor, float f) {
|
||||
BitmapDescriptor bitmapDescriptor2 = (BitmapDescriptor) Preconditions.checkNotNull(bitmapDescriptor, "bitmapDescriptor must not be null");
|
||||
if (f <= 0.0f) {
|
||||
throw new IllegalArgumentException("refWidth must be positive");
|
||||
}
|
||||
super(bitmapDescriptor2, f);
|
||||
this.bitmapDescriptor = bitmapDescriptor;
|
||||
this.refWidth = f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user