downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

CairoFontFace::status> <CairoFontFace::__construct
[edit] Last updated: Fri, 23 Mar 2012

view this page in

CairoFontFace::getType

(PECL cairo >= 0.1.0)

CairoFontFace::getTypeRetrieves the font face type

Açıklama

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.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

A font type that can be any one defined in CairoFontType

Örnekler

Örnek 1 CairoFontFace::getType() example

<?php

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

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

?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

int(0)

Ayrıca Bakınız

  • Classname::Method()



add a note add a note User Contributed Notes CairoFontFace::getType
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites