code: func (f *Fpdf) SetDashPattern(dashArray []float64, dashPhase float64) {
  	scaled := make([]float64, len(dashArray))
  	for i, value := range dashArray {
  		scaled[i] = value * f.k
  	}
  	dashPhase *= f.k
  
  	f.dashArray = scaled
  	f.dashPhase = dashPhase
  	if f.page > 0 {
  		f.outputDashPattern()
  	}
  
  }
docs: // SetDashPattern sets the dash pattern that is used to draw lines. The
  // dashArray elements are numbers that specify the lengths, in units
  // established in New(), of alternating dashes and gaps. The dash phase
  // specifies the distance into the dash pattern at which to start the dash. The
  // dash pattern is retained from page to page. Call this method with an empty
  // array to restore solid line drawing.
  //
  // The Beziergon() example demonstrates this method.