normal property

PdfTemplate get normal

Gets PdfTmplate object which applied to annotation in normal state.

Implementation

PdfTemplate get normal {
  if (_helper.templateNormal == null) {
    _helper.templateNormal = PdfTemplate(
        _annotation.bounds.size.width, _annotation.bounds.size.height);
    _helper.dictionary!.setProperty(PdfDictionaryProperties.n,
        PdfReferenceHolder(_helper.templateNormal));
  }
  return _helper.templateNormal!;
}
set normal (PdfTemplate value)

Sets PdfTmplate object which applied to annotation in normal state.

Implementation

set normal(PdfTemplate value) {
  if (_helper.templateNormal != value) {
    _helper.templateNormal = value;
    _helper.dictionary!.setProperty(PdfDictionaryProperties.n,
        PdfReferenceHolder(_helper.templateNormal));
  }
}