CairoImageSurface::getHeight

(PECL cairo >= 0.1.0)

CairoImageSurface::getHeightRetrieves the height of the CairoImageSurface

˵��

public CairoImageSurface::getHeight ( void ) : int

This methods returns the CairoImageSurface height.

����

�˺���û�в�����

����ֵ

CairoImageSurface object height

����

Example #1 CairoImageSurface::getHeight() example

<?php
// creates a new image surface
$surface = new CairoImageSurface(CairoFormat::ARGB328050);

//gets the height
var_dump($surface->getHeight());

?>

�������̵���������ڣ�

int(50)

�μ�