Documentation ¶
Index ¶
Constants ¶
View Source
const GravityCenter string = "center"
View Source
const GravityEast string = "east"
View Source
const GravityNorth string = "north"
View Source
const GravitySouth string = "south"
View Source
const GravityWest string = "west"
View Source
const TypeResize = "resize"
View Source
const TypeThumbnail = "thumbnail"
View Source
const TypeWatermark = "watermark"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resize ¶
func NewResizeFromMap ¶
type Thumbnail ¶
type Thumbnail struct {
// contains filtered or unexported fields
}
func NewThumbnail ¶
func NewThumbnailFromMap ¶
type Watermark ¶
type Watermark struct { Text string Font *truetype.Font GridCellSize int // contains filtered or unexported fields }
func NewWatermark ¶
func NewWatermarkFromMap ¶
Click to show internal directories.
Click to hide internal directories.