mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-01 22:17:29 +08:00
Update comments
This commit is contained in:
parent
4d25f7fd1a
commit
2ef5b5ab53
@ -7,15 +7,16 @@ package model
|
|||||||
|
|
||||||
import "github.com/unidoc/unidoc/pdf/core"
|
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 {
|
type PdfSignatureAppearance struct {
|
||||||
*PdfField
|
*PdfField
|
||||||
*PdfAnnotationWidget
|
*PdfAnnotationWidget
|
||||||
// TODO(gunnsth): Signature is not really part of an appearance.
|
|
||||||
Signature *PdfSignature
|
Signature *PdfSignature
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPdfSignatureAppearance returns an initialized annotation widget.
|
// NewPdfSignatureAppearance returns an initialized signature field appearance.
|
||||||
func NewPdfSignatureAppearance() *PdfSignatureAppearance {
|
func NewPdfSignatureAppearance() *PdfSignatureAppearance {
|
||||||
app := &PdfSignatureAppearance{}
|
app := &PdfSignatureAppearance{}
|
||||||
app.PdfField = NewPdfField()
|
app.PdfField = NewPdfField()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user