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

Method ExtendGravity

processing/options.go:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (po ProcessingOptions) ExtendGravity() GravityOptions {
82 return NewGravityOptions(po.Options, keys.ExtendGravity, GravityCenter)
83}
84
85func (po ProcessingOptions) ExtendAspectRatioEnabled() bool {
86 return po.GetBool(keys.ExtendAspectRatioEnabled, false)

Callers 1

extendMethod · 0.80

Calls 1

NewGravityOptionsFunction · 0.85

Tested by

no test coverage detected