CairoFontFace::getType
(PECL cairo >= 0.1.0)
CairoFontFace::getType — Retrieves the font face type
Opis
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.
Parametry
Ta funkcja nie posiada parametrów.
Zwracane wartości
A font type that can be any one defined in CairoFontType
Przykłady
Przykład #1 CairoFontFace::getType() example
<?php
// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');
// Get the font face type
var_dump($fontface->getType());
?>
Powyższy przykład wyświetli coś podobnego do:
int(0)
Zobacz też:
- Classname::Method()
There are no user contributed notes for this page.
