(PECL cairo >= 0.1.0)
Retrieves the height of the CairoImageSurface
public int CairoImageSurface::getHeight ( void )
This methods returns the CairoImageSurface height.
Returns:
CairoImageSurface object height
Examples:
CairoImageSurface::getHeight() example
1 2 3 4 5 6 7 8 | <?php // creates a new image surface $surface = new CairoImageSurface(CairoFormat::ARGB32, 80, 50); //gets the height var_dump( $surface ->getHeight()); ?> |
The above example will output something similar to:
int(50)
See also:
Please login to continue.