Documentation ¶
Index ¶
- func AddPaddingUniform(im image.Image, paddingWidth uint, paddingColor color.Color) image.Image
- func CreateIsPaddingFuncSimple(paddingColor color.Color) func(testColor color.Color) bool
- func NonPaddingRectangle(im image.Image, isPadding IsPaddingFunc) image.Rectangle
- func PaddingWidthBottom(im image.Image, isPadding IsPaddingFunc) uint
- func PaddingWidthLeft(im image.Image, isPadding IsPaddingFunc) uint
- func PaddingWidthRight(im image.Image, isPadding func(c color.Color) bool) uint
- func PaddingWidthTop(im image.Image, isPadding IsPaddingFunc) uint
- func PaddingWidths(im image.Image, isPadding IsPaddingFunc) (top uint, right uint, bottom uint, left uint)
- type IsPaddingFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPaddingUniform ¶
func NonPaddingRectangle ¶
func NonPaddingRectangle(im image.Image, isPadding IsPaddingFunc) image.Rectangle
func PaddingWidthBottom ¶
func PaddingWidthBottom(im image.Image, isPadding IsPaddingFunc) uint
func PaddingWidthLeft ¶
func PaddingWidthLeft(im image.Image, isPadding IsPaddingFunc) uint
func PaddingWidthRight ¶
func PaddingWidthTop ¶
func PaddingWidthTop(im image.Image, isPadding IsPaddingFunc) uint
func PaddingWidths ¶
Types ¶
type IsPaddingFunc ¶
Click to show internal directories.
Click to hide internal directories.