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

Method Gravity

processing/options.go:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73func (po ProcessingOptions) Gravity() GravityOptions {
74 return NewGravityOptions(po.Options, keys.Gravity, GravityCenter)
75}
76
77func (po ProcessingOptions) ExtendEnabled() bool {
78 return po.GetBool(keys.ExtendEnabled, false)

Callers 2

cropToResultMethod · 0.80
newContextMethod · 0.80

Calls 1

NewGravityOptionsFunction · 0.85

Tested by

no test coverage detected