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

search for in the

CairoPattern> <CairoToyFontFace
[edit] Last updated: Fri, 17 May 2013

view this page in

CairoPatternType クラス

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

導入

CairoPatternType を使って、指定したパターンのタイプを表します。

パターンのタイプは、それを作った関数で決まります。 cairo_pattern_create_rgb()cairo_pattern_create_rgba() といった関数は CairoPatternType::SOLID パターンを作ります。 それ以外の cairo_pattern_create_* 系関数は、それぞれ特定のパターンタイプに対応します。

クラス概要

CairoPatternType {
/* 定数 */
const integer SOLID = 0 ;
const integer SURFACE = 1 ;
const integer LINEAR = 2 ;
const integer RADIAL = 3 ;
}

定義済み定数

CairoPatternType::SOLID

ソリッドな (一様な) 色。不透明あるいは半透明になります。

CairoPatternType::SURFACE

サーフェイス (画像) に基づくパターン。

CairoPatternType::LINEAR

直線のグラデーションパターン。

CairoPatternType::RADIAL

放射状のグラデーションパターン。



add a note add a note User Contributed Notes CairoPatternType - [0 notes]
There are no user contributed notes for this page.

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