diff options
author | Kevin Seidel <kevin@zahlz.com> | 2018-01-31 09:03:15 +0100 |
---|---|---|
committer | Kevin Seidel <kevin@zahlz.com> | 2018-01-31 09:03:15 +0100 |
commit | 4025cadfd04438c4ba27fdd6bea6de29f223b8be (patch) | |
tree | 361e81b37580e0e8b241651b37b57e80bda86ce8 /const.go | |
parent | f27fb86f5efd6e011db7bff1ddbdae87c31a8e48 (diff) |
Move consts into def
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/const.go b/const.go deleted file mode 100644 index 1d8918e..0000000 --- a/const.go +++ /dev/null @@ -1,76 +0,0 @@ -package gofpdf - -// Page orientation -const ( - // PageOrientationPortrait ... - PageOrientationPortrait = "P" - // PageOrientationLandscape ... - PageOrientationLandscape = "L" -) - -// Size Unit -const ( - // UnitPoint ... - UnitPoint = "pt" - // UnitMillimeter ... - UnitMillimeter = "mm" - // UnitCentimeter - UnitCentimeter = "cm" - // UnitInch - UnitInch = "inch" -) - -// Page size -const ( - // PageSizeA3 ... - PageSizeA3 = "A3" - // PageSizeA4 ... - PageSizeA4 = "A4" - // PageSizeA5 ... - PageSizeA5 = "A5" - // PageSizeLetter ... - PageSizeLetter = "Letter" - // PageSizeLegal ... - PageSizeLegal = "Legal" -) - -// Border -const ( - // BorderNone ... - BorderNone = "" - // BorderFull ... - BorderFull = "1" - // BorderLeft ... - BorderLeft = "L" - // BorderTop ... - BorderTop = "T" - // BorderRight ... - BorderRight = "R" - // BorderBottom ... - BorderBottom = "B" -) - -// LineBreak -const ( - LineBreakNone = 0 - LineBreakNormal = 1 - LineBreakBelow = 2 -) - -// Alignment -const ( - // AlignLeft ... - AlignLeft = "L" - // AlignRight ... - AlignRight = "R" - // AlignCenter ... - AlignCenter = "C" - // AlignTop ... - AlignTop = "T" - // AlignBottom ... - AlignBottom = "B" - // AlignMiddle ... - AlignMiddle = "M" - // AlignBaseline ... - AlignBaseline = "B" -) |