code: public static StrokeInfo createStroke(String color, int width, float opacity, String dashArray) {
  		StrokeInfo strokeInfo = new StrokeInfo();
  		if (color != null) {
  			strokeInfo.getCssParameterList().add(createCssParameter("stroke", color));
  		}
  		strokeInfo.getCssParameterList().add(createCssParameter("stroke-width", width));
  		if (dashArray != null) {
  			strokeInfo.getCssParameterList().add(createCssParameter("stroke-dasharray", dashArray));
  		}
  		strokeInfo.getCssParameterList().add(createCssParameter("stroke-opacity", opacity));
  		return strokeInfo;
  	}
docs: Creates a stroke with the specified CSS parameters.
  
  @param color the color
  @param width the width
  @param opacity the opacity
  @param dashArray the dash array
  @return the stroke