// Sets the gravity type. func (mw *MagickWand) SetGravity(gtype GravityType) error { C.MagickSetGravity(mw.mw, C.GravityType(gtype)) return mw.GetLastError() }
// Sets the text placement gravity to use when annotating with text. func (dw *DrawingWand) SetGravity(gravity GravityType) { C.DrawSetGravity(dw.dw, C.GravityType(gravity)) }
func (self *Canvas) SetGravity(gravity uint) { C.MagickSetGravity(self.wand, C.GravityType(gravity)) }
// Sets the gravity type. func (mw *MagickWand) SetGravity(gtype GravityType) error { ok := C.MagickSetGravity(mw.mw, C.GravityType(gtype)) return mw.getLastErrorIfFailed(ok) }