PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

CairoImageSurface::getHeight - Retrieves the height of the CairoImageSurface | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoImageSurface::getHeight

(PECL cairo >= 0.1.0)

CairoImageSurface::getHeightRetrieves the height of the CairoImageSurface

説明

public int CairoImageSurface::getHeight ( void )

This methods returns the CairoImageSurface height.

パラメータ

この関数にはパラメータはありません。

返り値

CairoImageSurface object height

例1 CairoImageSurface::getHeight() example

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

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

?>

上の例の出力は、 たとえば以下のようになります。

int(50)

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「CairoImageSurface::getHeight - Retrieves the height of the CairoImageSurface」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | CairoImageSurface::getHeight - Retrieves the height of the CairoImageSurface」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: