forked from signintech/gopdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cell_option.go
29 lines (26 loc) · 900 Bytes
/
cell_option.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package gopdf
// Left left
const Left = 8 //001000
// Top top
const Top = 4 //000100
// Right right
const Right = 2 //000010
// Bottom bottom
const Bottom = 1 //000001
// Center center
const Center = 16 //010000
// Middle middle
const Middle = 32 //100000
// AllBorders allborders
const AllBorders = 15 //001111
// CellOption cell option
type CellOption struct {
Align int //Allows to align the text. Possible values are: Left,Center,Right,Top,Bottom,Middle
Border int //Indicates if borders must be drawn around the cell. Possible values are: Left, Top, Right, Bottom, ALL
Float int //Indicates where the current position should go after the call. Possible values are: Right, Bottom
Transparency *Transparency
CoefUnderlinePosition float64
CoefLineHeight float64
CoefUnderlineThickness float64
extGStateIndexes []int
}