Ai
1 Star 0 Fork 0

coorrer/unipdf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
location.go 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
xushuai 提交于 2025-09-23 15:05 +08:00 . init
package bitmap
// LocationFilter is predefined enum wrapper used for selection of boxes and bitmaps
type LocationFilter int
const (
_ LocationFilter = iota
// LocSelectWidth is the location filter where the width must satisfy constraint.
LocSelectWidth
// LocSelectHeight is the location filter where the height must satisfy constarint.
LocSelectHeight
// LocSelectXVal is the location filter where the 'x' value must satisfy constraint.
LocSelectXVal
// LocSelectYVal is the location filter where the 'y' value must satisfy constraint.
LocSelectYVal
// LocSelectIfEither is the location filter where either width or height can satisfy constraint.
LocSelectIfEither
// LocSelectIfBoth is the location filter where both width and height must satisfy constraint.
LocSelectIfBoth
)
// SizeSelection is the predefined enum wrapper used for size selection for boxes and bitmaps.
type SizeSelection int
const (
_ SizeSelection = iota
// SizeSelectByWidth is the size select enum used for selecting by width.
SizeSelectByWidth
// SizeSelectByHeight is the size select enum used for selecting by height.
SizeSelectByHeight
// SizeSelectByMaxDimension is the size select enum used for selecting by max of width and height.
SizeSelectByMaxDimension
// SizeSelectByArea is the size select enum used for selecting by area.
SizeSelectByArea
// SizeSelectByPerimeter is the size select enum used for selecting by perimeter.
SizeSelectByPerimeter
)
// SizeComparison is the predefined enum wrapper used for size comparison.
type SizeComparison int
const (
_ SizeComparison = iota
// SizeSelectIfLT is the size comparison used to save the value if it's less than threshold.
SizeSelectIfLT
// SizeSelectIfGT is the size comparison used to save the value if it's more than threshold.
SizeSelectIfGT
// SizeSelectIfLTE is the size comparison used to save the value if it's less or equal to threshold.
SizeSelectIfLTE
// SizeSelectIfGTE is the size comparison used to save the value if it's less more or equal to threshold.
SizeSelectIfGTE
// SizeSelectIfEQ is the size comparison used to save the values if it's equal to threshold.
SizeSelectIfEQ
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coorrer/unipdf.git
git@gitee.com:coorrer/unipdf.git
coorrer
unipdf
unipdf
v1.2.0

搜索帮助