Prev
MagickWand For PHP
Manual


Next

DrawGetGravity

DrawGetGravity -- returns the text placement gravity used when annotating with text

Description

int DrawGetGravity( DrawingWand drw_wnd )

Returns the text placement gravity used when annotating with text.

The returned value will be a GravityType constant, one of the following:
   MW_UndefinedGravity      MW_ForgetGravity
   MW_NorthWestGravity      MW_NorthGravity
   MW_NorthEastGravity      MW_WestGravity
   MW_CenterGravity         MW_EastGravity
   MW_SouthWestGravity      MW_SouthGravity
   MW_SouthEastGravity      MW_StaticGravity

A description of each parameter follows:

drw_wnd A DrawingWand resource


Prev
DrawGetFontWeight
Up Next
DrawGetStrokeAlpha