ImagickDraw::getGravity

(PECL imagick 2.0.0)

ImagickDraw::getGravityReturns the text placement gravity

说锟斤拷

ImagickDraw::getGravity ( void ) : int
Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

Returns the text placement gravity used when annotating with text.

锟斤拷锟斤拷值

Returns a GRAVITY_ constant on success and 0 if no gravity is set.