(PECL cairo >= 0.1.0)
CairoFontFace::getType — Retrieves the font face type
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
Example #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)