duplicate method

BasicStyle duplicate()

Implementation

BasicStyle duplicate() {
  BasicStyle dup = new BasicStyle();
  dup.id = id;
  dup.name = name;
  dup.size = size;
  dup.fillcolor = fillcolor;
  dup.strokecolor = strokecolor;
  dup.fillalpha = fillalpha;
  dup.strokealpha = strokealpha;
  dup.shape = shape;
  dup.width = width;
  dup.labelsize = labelsize;
  dup.labelfield = labelfield;
  dup.labelvisible = labelvisible;
  dup.enabled = enabled;
  dup.order = order;
  dup.dashPattern = dashPattern;
  dup.minZoom = minZoom;
  dup.maxZoom = maxZoom;
  dup.decimationFactor = decimationFactor;
  dup.themeMap = themeMap;
  return dup;
}