package alignment

import "github.com/edragoev1/pdfjet/v9/src/alignment"

Package alignment defines the horizontal and vertical alignments.

Index

Types

type Alignment

type Alignment int32

Alignment specifies the horizontal or vertical alignment. It is an int32, so that the three of them a Cell holds cost 4 bytes each and not 8.

const (
	Left Alignment = iota
	Right
	Center
	Justify
	Top
	Bottom
)

Left, Right, Center and Justify align horizontally; Top, Center and Bottom align vertically.