CPDFAnnotAttr.freeText constructor
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,
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);