package com.google.android.m4b.maps.model;

import android.os.Parcel;
import com.google.android.m4b.maps.h.c;
import com.google.android.m4b.maps.r.ap;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public final class PolylineOptions
  implements c
{
  public static final PolylineOptionsCreator CREATOR = new PolylineOptionsCreator();
  private final int a;
  private final List<LatLng> b;
  private float c = 10.0F;
  private int d = -16777216;
  private float e = 0.0F;
  private boolean f = true;
  private boolean g = false;

  public PolylineOptions()
  {
    this.a = 1;
    this.b = new ArrayList();
  }

  PolylineOptions(int paramInt1, List paramList, float paramFloat1, int paramInt2, float paramFloat2, boolean paramBoolean1, boolean paramBoolean2)
  {
    this.a = paramInt1;
    this.b = paramList;
    this.c = paramFloat1;
    this.d = paramInt2;
    this.e = paramFloat2;
    this.f = paramBoolean1;
    this.g = paramBoolean2;
  }

  final int a()
  {
    return this.a;
  }

  public final PolylineOptions add(LatLng paramLatLng)
  {
    this.b.add(paramLatLng);
    return this;
  }

  public final PolylineOptions add(LatLng[] paramArrayOfLatLng)
  {
    this.b.addAll(Arrays.asList(paramArrayOfLatLng));
    return this;
  }

  public final PolylineOptions addAll(Iterable<LatLng> paramIterable)
  {
    Iterator localIterator = paramIterable.iterator();
    while (localIterator.hasNext())
    {
      LatLng localLatLng = (LatLng)localIterator.next();
      this.b.add(localLatLng);
    }
    return this;
  }

  public final PolylineOptions color(int paramInt)
  {
    this.d = paramInt;
    return this;
  }

  public final int describeContents()
  {
    return 0;
  }

  public final PolylineOptions geodesic(boolean paramBoolean)
  {
    this.g = paramBoolean;
    return this;
  }

  public final int getColor()
  {
    return this.d;
  }

  public final List<LatLng> getPoints()
  {
    return this.b;
  }

  public final float getWidth()
  {
    return this.c;
  }

  public final float getZIndex()
  {
    return this.e;
  }

  public final boolean isGeodesic()
  {
    return this.g;
  }

  public final boolean isVisible()
  {
    return this.f;
  }

  public final PolylineOptions visible(boolean paramBoolean)
  {
    this.f = paramBoolean;
    return this;
  }

  public final PolylineOptions width(float paramFloat)
  {
    this.c = paramFloat;
    return this;
  }

  public final void writeToParcel(Parcel paramParcel, int paramInt)
  {
    if (ap.a())
    {
      PolylineOptionsCreatorCheddar.a(this, paramParcel);
      return;
    }
    PolylineOptionsCreator.a(this, paramParcel);
  }

  public final PolylineOptions zIndex(float paramFloat)
  {
    this.e = paramFloat;
    return this;
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.google.android.m4b.maps.model.PolylineOptions
 * JD-Core Version:    0.6.2
 */