downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

CairoImageSurface::getStride> <CairoImageSurface::getFormat
[edit] Last updated: Fri, 17 May 2013

view this page in

CairoImageSurface::getHeight

(PECL cairo >= 0.1.0)

CairoImageSurface::getHeightRécupère la hauteur d'un CairoImageSurface

Description

public int CairoImageSurface::getHeight ( void )

Récupère la hauteur d'un CairoImageSurface.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

La hauteur d'un objet CairoImageSurface.

Exemples

Exemple #1 Exemple avec CairoImageSurface::getHeight()

<?php
// Création d'une nouvelle surface pour l'image
$surface = new CairoImageSurface(CairoFormat::ARGB328050);

// Récupère la hauteur
var_dump($surface->getHeight());

?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

int(50)

Voir aussi



add a note add a note User Contributed Notes CairoImageSurface::getHeight - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites