Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PuzzleCaptcha ¶
func NewPuzzleCaptcha ¶
func NewPuzzleCaptcha(origin image.Image, holesize, maxholes int) PuzzleCaptcha
type PuzzleMask ¶
type PuzzleMask struct { Holes int // binary number 0b0001 四位分别代表上下左右 // contains filtered or unexported fields }
func NewPuzzleMask ¶
func NewPuzzleMask(whole, hole image.Rectangle, holes int, masktype PuzzleMaskType) *PuzzleMask
func (*PuzzleMask) Bounds ¶
func (m *PuzzleMask) Bounds() image.Rectangle
func (*PuzzleMask) ColorModel ¶
func (m *PuzzleMask) ColorModel() color.Model
Click to show internal directories.
Click to hide internal directories.