PHP Doku:: Retrieves the height of the CairoImageSurface - cairoimagesurface.getheight.html

Verlauf / Chronik / History: (6) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungCairoThe CairoImageSurface classCairoImageSurface::getHeight

Ein Service von Reinhard Neidl - Webprogrammierung.

The CairoImageSurface class

<<CairoImageSurface::getFormat

CairoImageSurface::getStride>>

CairoImageSurface::getHeight

(PECL cairo >= 0.1.0)

CairoImageSurface::getHeightRetrieves the height of the CairoImageSurface

Beschreibung

public int CairoImageSurface::getHeight ( void )

This methods returns the CairoImageSurface height.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

CairoImageSurface object height

Beispiele

Beispiel #1 CairoImageSurface::getHeight() example

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

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

?>

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

int(50)

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)