operator * method

PdfFontMetrics operator *(
  1. double factor
)

Multiply this metrics object with a font size

Implementation

PdfFontMetrics operator *(double factor) {
  return copyWith(
    left: left * factor,
    top: top * factor,
    right: right * factor,
    bottom: bottom * factor,
    ascent: ascent * factor,
    descent: descent * factor,
    advanceWidth: advanceWidth * factor,
    leftBearing: leftBearing * factor,
  );
}