@Override public void lockColors(final PdfPaint strokePaint,final PdfPaint nonstrokePaint,final boolean lockColour){
  colorsLocked=lockColour;
  Color strokeColor=Color.white, nonstrokeColor=Color.white;
  if (strokePaint != null && !strokePaint.isPattern()) {
    strokeColor=(Color)strokePaint;
  }
  strokeCol=new PdfColor(strokeColor.getRed(),strokeColor.getGreen(),strokeColor.getBlue());
  if (!nonstrokePaint.isPattern()) {
    nonstrokeColor=(Color)nonstrokePaint;
  }
  fillCol=new PdfColor(nonstrokeColor.getRed(),nonstrokeColor.getGreen(),nonstrokeColor.getBlue());
}

@ Override public void lockColors ( final PdfPaint strokePaint , final PdfPaint nonstrokePaint , final boolean lockColour ) { colorsLocked = lockColour ; Color strokeColor = Color . white , nonstrokeColor = Color . white ; if ( strokePaint != null && ! strokePaint . isPattern ( ) ) { strokeColor = ( Color ) strokePaint ; } strokeCol = new PdfColor ( strokeColor . getRed ( ) , strokeColor . getGreen ( ) , strokeColor . getBlue ( ) ) ; if ( ! nonstrokePaint . isPattern ( ) ) { nonstrokeColor = ( Color ) nonstrokePaint ; } fillCol = new PdfColor ( nonstrokeColor . getRed ( ) , nonstrokeColor . getGreen ( ) , nonstrokeColor . getBlue ( ) ) ; }
used by type 3 glyphs to set colour
