Documentation ¶
Index ¶
- type PageDrawer
- func (d *PageDrawer) AddImage(img []byte) error
- func (d *PageDrawer) GetIndex() int
- func (d *PageDrawer) Inherit(d2 *PageDrawer) *PageDrawer
- func (d *PageDrawer) IsEmpty() bool
- func (d *PageDrawer) IsFull() bool
- func (d *PageDrawer) Save() (string, int, int, error)
- func (d *PageDrawer) SetBacksideImageAndSave(img []byte) (string, error)
- func (d *PageDrawer) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageDrawer ¶
type PageDrawer struct {
// contains filtered or unexported fields
}
func New ¶
func New(title, path string, scale, commonIndex int) *PageDrawer
func (*PageDrawer) AddImage ¶
func (d *PageDrawer) AddImage(img []byte) error
func (*PageDrawer) GetIndex ¶
func (d *PageDrawer) GetIndex() int
func (*PageDrawer) Inherit ¶
func (d *PageDrawer) Inherit(d2 *PageDrawer) *PageDrawer
func (*PageDrawer) IsEmpty ¶
func (d *PageDrawer) IsEmpty() bool
func (*PageDrawer) IsFull ¶
func (d *PageDrawer) IsFull() bool
func (*PageDrawer) SetBacksideImageAndSave ¶
func (d *PageDrawer) SetBacksideImageAndSave(img []byte) (string, error)
func (*PageDrawer) Size ¶
func (d *PageDrawer) Size() int
Click to show internal directories.
Click to hide internal directories.