CPDFAnnotAttr.line constructor

const CPDFAnnotAttr.line({
  1. Color borderColor = const Color(0xFF1460F3),
  2. int borderAlpha = 100,
  3. int borderWidth = 5,
  4. CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid(),
})

Implementation

const CPDFAnnotAttr.line({
  Color borderColor = const Color(0xFF1460F3),
  int borderAlpha = 100,
  int borderWidth = 5,
  CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid(),
}) : this(
          annotationType: CPDFAnnotationType.line,
          borderColor: borderColor,
          borderAlpha: borderAlpha,
          borderWidth: borderWidth,
          borderStyle: borderStyle,
          startLineType: CPDFLineType.none,
          tailLineType: CPDFLineType.none);