244 lines
6.2 KiB
Java
244 lines
6.2 KiB
Java
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.zzw;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class Polygon {
|
|
private final zzw zzdw;
|
|
|
|
public Polygon(zzw zzwVar) {
|
|
this.zzdw = (zzw) Preconditions.checkNotNull(zzwVar);
|
|
}
|
|
|
|
public final void remove() {
|
|
try {
|
|
this.zzdw.remove();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final String getId() {
|
|
try {
|
|
return this.zzdw.getId();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setPoints(List<LatLng> list) {
|
|
try {
|
|
this.zzdw.setPoints(list);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final List<LatLng> getPoints() {
|
|
try {
|
|
return this.zzdw.getPoints();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setHoles(List<? extends List<LatLng>> list) {
|
|
try {
|
|
this.zzdw.setHoles(list);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final List<List<LatLng>> getHoles() {
|
|
try {
|
|
return this.zzdw.getHoles();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setStrokeWidth(float f) {
|
|
try {
|
|
this.zzdw.setStrokeWidth(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getStrokeWidth() {
|
|
try {
|
|
return this.zzdw.getStrokeWidth();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setStrokeColor(int i) {
|
|
try {
|
|
this.zzdw.setStrokeColor(i);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final int getStrokeColor() {
|
|
try {
|
|
return this.zzdw.getStrokeColor();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setStrokeJointType(int i) {
|
|
try {
|
|
this.zzdw.setStrokeJointType(i);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final int getStrokeJointType() {
|
|
try {
|
|
return this.zzdw.getStrokeJointType();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setStrokePattern(List<PatternItem> list) {
|
|
try {
|
|
this.zzdw.setStrokePattern(list);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final List<PatternItem> getStrokePattern() {
|
|
try {
|
|
return PatternItem.zza(this.zzdw.getStrokePattern());
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setFillColor(int i) {
|
|
try {
|
|
this.zzdw.setFillColor(i);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final int getFillColor() {
|
|
try {
|
|
return this.zzdw.getFillColor();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setZIndex(float f) {
|
|
try {
|
|
this.zzdw.setZIndex(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getZIndex() {
|
|
try {
|
|
return this.zzdw.getZIndex();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setVisible(boolean z) {
|
|
try {
|
|
this.zzdw.setVisible(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean isVisible() {
|
|
try {
|
|
return this.zzdw.isVisible();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setGeodesic(boolean z) {
|
|
try {
|
|
this.zzdw.setGeodesic(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean isGeodesic() {
|
|
try {
|
|
return this.zzdw.isGeodesic();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setClickable(boolean z) {
|
|
try {
|
|
this.zzdw.setClickable(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean isClickable() {
|
|
try {
|
|
return this.zzdw.isClickable();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setTag(Object obj) {
|
|
try {
|
|
this.zzdw.zze(ObjectWrapper.wrap(obj));
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final Object getTag() {
|
|
try {
|
|
return ObjectWrapper.unwrap(this.zzdw.zzk());
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (!(obj instanceof Polygon)) {
|
|
return false;
|
|
}
|
|
try {
|
|
return this.zzdw.zzb(((Polygon) obj).zzdw);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final int hashCode() {
|
|
try {
|
|
return this.zzdw.zzj();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
}
|