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

CairoFontFace::getType - Retrieves the font face type | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoFontFace::getType

(PECL cairo >= 0.1.0)

CairoFontFace::getTypeRetrieves the font face type

説明

public int CairoFontFace::getType ( void )

This function returns the type of the backend used to create a font face. See CairoFontType class constants for available types.

パラメータ

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

返り値

A font type that can be any one defined in CairoFontType

例1 CairoFontFace::getType() example

<?php

// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');

// Get the font face type
var_dump($fontface->getType());

?>

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

int(0)

参考

  • Classname::Method()


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

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