CPDFAnnotAttr class

Constructors

CPDFAnnotAttr({required CPDFAnnotationType? annotationType, Color? color, int? alpha, int? borderWidth, Color? fillColor, Color? borderColor, int? borderAlpha, int? colorAlpha, CPDFBorderStyle? borderStyle, CPDFLineType? startLineType, CPDFLineType? tailLineType, Color? fontColor, int? fontColorAlpha, int? fontSize, bool? isBold, bool? isItalic, CPDFAlignment? alignment, CPDFTypeface? typeface})
const
CPDFAnnotAttr.arrow({Color borderColor = const Color(0xFF1460F3), int borderAlpha = 100, int borderWidth = 5, CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid(), CPDFLineType startLineType = CPDFLineType.none, CPDFLineType tailLineType = CPDFLineType.openArrow})
const
CPDFAnnotAttr.circle({Color fillColor = const Color(0xFF1460F3), Color borderColor = Colors.black, int colorAlpha = 128, int borderWidth = 2, CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid()})
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})
const
CPDFAnnotAttr.highlight({Color color = const Color(0xFF1460F3), int alpha = 77})
const
CPDFAnnotAttr.ink({Color color = const Color(0xFF1460F3), int alpha = 100, int borderWidth = 10})
const
CPDFAnnotAttr.line({Color borderColor = const Color(0xFF1460F3), int borderAlpha = 100, int borderWidth = 5, CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid()})
const
CPDFAnnotAttr.note({Color color = const Color(0xFF1460F3), int alpha = 255})
const
CPDFAnnotAttr.square({Color fillColor = const Color(0xFF1460F3), Color borderColor = Colors.black, int colorAlpha = 128, int borderWidth = 2, CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid()})
const
CPDFAnnotAttr.squiggly({Color color = const Color(0xFF1460F3), int alpha = 77})
const
CPDFAnnotAttr.strikeout({Color color = const Color(0xFF1460F3), int alpha = 77})
const
CPDFAnnotAttr.underline({Color color = const Color(0xFF1460F3), int alpha = 77})
const

Properties

alignment CPDFAlignment?
final
alpha int?
final
annotationType CPDFAnnotationType?
final
borderAlpha int?
final
borderColor Color?
final
borderStyle CPDFBorderStyle?
final
borderWidth int?
final
color Color?
final
colorAlpha int?
final
fillColor Color?
final
fontColor Color?
final
fontColorAlpha int?
final
fontSize int?
final
hashCode int
The hash code for this object.
no setterinherited
isBold bool?
final
isItalic bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startLineType CPDFLineType?
final
tailLineType CPDFLineType?
final
typeface CPDFTypeface?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited