signature

package
v2.0.0-beta.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 8 Imported by: 6

Documentation

Overview

Package signature implements creation of signatures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(value string, ps ...props.Signature) core.Component

New is responsible to create an instance of a Signature.

func NewCol

func NewCol(size int, value string, ps ...props.Signature) core.Col

NewCol is responsible to create an instance of a Signature wrapped in a Col.

func NewRow

func NewRow(height float64, value string, ps ...props.Signature) core.Row

NewRow is responsible to create an instance of a Signature wrapped in a Row.

Types

type Signature

type Signature struct {
	// contains filtered or unexported fields
}

func (*Signature) GetStructure

func (s *Signature) GetStructure() *node.Node[core.Structure]

GetStructure returns the Structure of a Signature.

func (*Signature) Render

func (s *Signature) Render(provider core.Provider, cell *entity.Cell)

Render renders a Signature into a PDF context.

func (*Signature) SetConfig

func (s *Signature) SetConfig(config *entity.Config)

SetConfig sets the config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL