public LegendItem(AttributedString label,String description,String toolTipText,String urlText,boolean shapeVisible,Shape shape,boolean shapeFilled,Paint fillPaint,boolean shapeOutlineVisible,Paint outlinePaint,Stroke outlineStroke,boolean lineVisible,Shape line,Stroke lineStroke,Paint linePaint){
  ParamChecks.nullNotPermitted(label,"label");
  ParamChecks.nullNotPermitted(fillPaint,"fillPaint");
  ParamChecks.nullNotPermitted(lineStroke,"lineStroke");
  ParamChecks.nullNotPermitted(line,"line");
  ParamChecks.nullNotPermitted(linePaint,"linePaint");
  ParamChecks.nullNotPermitted(outlinePaint,"outlinePaint");
  ParamChecks.nullNotPermitted(outlineStroke,"outlineStroke");
  this.label=characterIteratorToString(label.getIterator());
  this.attributedLabel=label;
  this.description=description;
  this.shapeVisible=shapeVisible;
  this.shape=shape;
  this.shapeFilled=shapeFilled;
  this.fillPaint=fillPaint;
  this.fillPaintTransformer=new StandardGradientPaintTransformer();
  this.shapeOutlineVisible=shapeOutlineVisible;
  this.outlinePaint=outlinePaint;
  this.outlineStroke=outlineStroke;
  this.lineVisible=lineVisible;
  this.line=line;
  this.lineStroke=lineStroke;
  this.linePaint=linePaint;
  this.toolTipText=toolTipText;
  this.urlText=urlText;
}

public LegendItem ( AttributedString label , String description , String toolTipText , String urlText , boolean shapeVisible , Shape shape , boolean shapeFilled , Paint fillPaint , boolean shapeOutlineVisible , Paint outlinePaint , Stroke outlineStroke , boolean lineVisible , Shape line , Stroke lineStroke , Paint linePaint ) { ParamChecks . nullNotPermitted ( label , "label" ) ; ParamChecks . nullNotPermitted ( fillPaint , "fillPaint" ) ; ParamChecks . nullNotPermitted ( lineStroke , "lineStroke" ) ; ParamChecks . nullNotPermitted ( line , "line" ) ; ParamChecks . nullNotPermitted ( linePaint , "linePaint" ) ; ParamChecks . nullNotPermitted ( outlinePaint , "outlinePaint" ) ; ParamChecks . nullNotPermitted ( outlineStroke , "outlineStroke" ) ; this . label = characterIteratorToString ( label . getIterator ( ) ) ; this . attributedLabel = label ; this . description = description ; this . shapeVisible = shapeVisible ; this . shape = shape ; this . shapeFilled = shapeFilled ; this . fillPaint = fillPaint ; this . fillPaintTransformer = new StandardGradientPaintTransformer ( ) ; this . shapeOutlineVisible = shapeOutlineVisible ; this . outlinePaint = outlinePaint ; this . outlineStroke = outlineStroke ; this . lineVisible = lineVisible ; this . line = line ; this . lineStroke = lineStroke ; this . linePaint = linePaint ; this . toolTipText = toolTipText ; this . urlText = urlText ; }
creates a new legend item .
