fixture

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BarcodeProp

func BarcodeProp() props.Barcode

BarcodeProp is responsible to give a valid props.Barcode.

func CellEntity

func CellEntity() entity.Cell

CellEntity is responsible to give a valid entity.Cell.

func CellProp

func CellProp() props.Cell

CellProp is responsible to give a valid props.Cell.

func CheckboxProp added in v2.4.0

func CheckboxProp() props.Checkbox

CheckboxProp is responsible to give a valid props.Checkbox.

func ColorProp

func ColorProp() props.Color

ColorProp is responsible to give a valid props.Color.

func ConfigEntity added in v2.1.4

func ConfigEntity() entity.Config

ConfigEntity is responsible to give a valid entity.Config.

func FontProp

func FontProp() props.Font

FontProp is responsible to give a valid props.Font.

func ImageEntity

func ImageEntity() entity.Image

ImageEntity is responsible to give a valid entity.Image.

func LineProp

func LineProp() props.Line

LineProp is responsible to give a valid props.Line.

func MarginsEntity

func MarginsEntity() entity.Margins

MarginsEntity is responsible to give a valid entity.Margins.

func Node

func Node(rootType string) *node.Node[core.Structure]

Node is responsible to give a valid node.Node.

func PageProp

func PageProp() props.PageNumber

PageProp is responsible to give a valid props.PageNumber.

func RectProp

func RectProp() props.Rect

RectProp is responsible to give a valid props.Rect.

func SignatureProp

func SignatureProp() props.Signature

SignatureProp is responsible to give a valid props.Signature.

func TextProp

func TextProp() props.Text

TextProp is responsible to give a valid props.Text.

Types

type TestFont added in v2.4.1

type TestFont struct {
	Family string
	Style  fontstyle.Type
	File   string
	Bytes  []byte
}

func (TestFont) GetBytes added in v2.4.1

func (t TestFont) GetBytes() []byte

func (TestFont) GetFamily added in v2.4.1

func (t TestFont) GetFamily() string

func (TestFont) GetFile added in v2.4.1

func (t TestFont) GetFile() string

func (TestFont) GetStyle added in v2.4.1

func (t TestFont) GetStyle() fontstyle.Type

Jump to

Keyboard shortcuts

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