MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / CropHeight

Method CropHeight

processing/options.go:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (po ProcessingOptions) CropHeight() float64 {
114 return po.GetFloat(keys.CropHeight, 0.0)
115}
116
117func (po ProcessingOptions) CropGravity() GravityOptions {
118 return NewGravityOptions(po.Options, keys.CropGravity, GravityUnknown)

Callers 1

CalcParamsMethod · 0.80

Calls 1

GetFloatMethod · 0.80

Tested by

no test coverage detected