summaryrefslogtreecommitdiff
path: root/go-poppler/text.go
blob: 5550b64e19e6d1eecb331d47dcb919ae9171b092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package poppler

import ()

type TextEl struct {
	Text  string
	Attrs *TextAttributes
	Rect  Rectangle
}

type TextAttributes struct {
	FontName             string
	FontSize             float64
	IsUnderlined         bool
	Color                Color
	StartIndex, EndIndex int
}

type Color struct {
	R, G, B int
}