CPDFAnnotAttr.freeText constructor

const CPDFAnnotAttr.freeText({
  1. Color fontColor = Colors.black,
  2. int fontColorAlpha = 255,
  3. int fontSize = 30,
  4. bool isBold = false,
  5. bool isItalic = false,
  6. CPDFAlignment alignment = CPDFAlignment.left,
  7. CPDFTypeface typeface = CPDFTypeface.helvetica,
})

Implementation

const CPDFAnnotAttr.freeText(
    {Color fontColor = Colors.black,
    int fontColorAlpha = 255,
    int fontSize = 30,
    bool isBold = false,
    bool isItalic = false,
    CPDFAlignment alignment = CPDFAlignment.left,
    CPDFTypeface typeface = CPDFTypeface.helvetica})
    : this(
          annotationType: CPDFAnnotationType.freetext,
          fontColor: fontColor,
          fontColorAlpha: fontColorAlpha,
          fontSize: fontSize,
          isBold: isBold,
          isItalic: isItalic,
          alignment: alignment,
          typeface: typeface);