Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,245 @@
|
||||
package com.google.android.gms.maps.model;
|
||||
|
||||
import android.os.RemoteException;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.internal.maps.zzam;
|
||||
import java.util.List;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class Polygon {
|
||||
private final zzam zza;
|
||||
|
||||
public Polygon(zzam zzamVar) {
|
||||
this.zza = (zzam) Preconditions.checkNotNull(zzamVar);
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (!(obj instanceof Polygon)) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
return this.zza.zzB(((Polygon) obj).zza);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public int getFillColor() {
|
||||
try {
|
||||
return this.zza.zzf();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<List<LatLng>> getHoles() {
|
||||
try {
|
||||
return this.zza.zzl();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
try {
|
||||
return this.zza.zzk();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<LatLng> getPoints() {
|
||||
try {
|
||||
return this.zza.zzm();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public int getStrokeColor() {
|
||||
try {
|
||||
return this.zza.zzg();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public int getStrokeJointType() {
|
||||
try {
|
||||
return this.zza.zzh();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<PatternItem> getStrokePattern() {
|
||||
try {
|
||||
return PatternItem.zza(this.zza.zzn());
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public float getStrokeWidth() {
|
||||
try {
|
||||
return this.zza.zzd();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Object getTag() {
|
||||
try {
|
||||
return ObjectWrapper.unwrap(this.zza.zzj());
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public float getZIndex() {
|
||||
try {
|
||||
return this.zza.zze();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
try {
|
||||
return this.zza.zzi();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isClickable() {
|
||||
try {
|
||||
return this.zza.zzC();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isGeodesic() {
|
||||
try {
|
||||
return this.zza.zzD();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isVisible() {
|
||||
try {
|
||||
return this.zza.zzE();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void remove() {
|
||||
try {
|
||||
this.zza.zzo();
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setClickable(boolean z) {
|
||||
try {
|
||||
this.zza.zzp(z);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFillColor(int i) {
|
||||
try {
|
||||
this.zza.zzq(i);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGeodesic(boolean z) {
|
||||
try {
|
||||
this.zza.zzr(z);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setHoles(List<? extends List<LatLng>> list) {
|
||||
try {
|
||||
this.zza.zzs(list);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setStrokeColor(int i) {
|
||||
try {
|
||||
this.zza.zzu(i);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setStrokeJointType(int i) {
|
||||
try {
|
||||
this.zza.zzv(i);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setStrokePattern(List<PatternItem> list) {
|
||||
try {
|
||||
this.zza.zzw(list);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setStrokeWidth(float f) {
|
||||
try {
|
||||
this.zza.zzx(f);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTag(Object obj) {
|
||||
try {
|
||||
this.zza.zzy(ObjectWrapper.wrap(obj));
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setVisible(boolean z) {
|
||||
try {
|
||||
this.zza.zzz(z);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setZIndex(float f) {
|
||||
try {
|
||||
this.zza.zzA(f);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPoints(List<LatLng> list) {
|
||||
try {
|
||||
Preconditions.checkNotNull(list, "points must not be null.");
|
||||
this.zza.zzt(list);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeRemoteException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user