setColor method

void setColor(
  1. PdfColor? color
)

Sets the color for drawing

Implementation

void setColor(PdfColor? color) {
  setFillColor(color);
  setStrokeColor(color);
}