Update comments

This commit is contained in:
Gunnsteinn Hall 2019-02-12 23:50:57 +00:00 committed by GitHub
parent 4d25f7fd1a
commit 2ef5b5ab53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,15 +7,16 @@ package model
import "github.com/unidoc/unidoc/pdf/core"
// PdfSignatureAppearance contains the common attributes of an appearance form field.
// PdfSignatureAppearance defines a signature with a specified form field and
// annotation widget for appearance styling.
type PdfSignatureAppearance struct {
*PdfField
*PdfAnnotationWidget
// TODO(gunnsth): Signature is not really part of an appearance.
Signature *PdfSignature
}
// NewPdfSignatureAppearance returns an initialized annotation widget.
// NewPdfSignatureAppearance returns an initialized signature field appearance.
func NewPdfSignatureAppearance() *PdfSignatureAppearance {
app := &PdfSignatureAppearance{}
app.PdfField = NewPdfField()