CairoContext
PHP Manual

CairoContext::fill

cairo_fill

(PECL cairo >= 0.1.0)

CairoContext::fill -- cairo_fillFills the current path

説明

Object oriented style (method):

public void CairoContext::fill ( void )

Procedural style:

void cairo_fill ( CairoContext $context )

A drawing operator that fills the current path according to the current CairoFillRule, (each sub-path is implicitly closed before being filled). After CairoContext::fill or cairo_fill(), the current path will be cleared from the CairoContext.

パラメータ

context

A valid CairoContext object created with CairoContext::__construct or cairo_create()

返り値

値を返しません。

例1 Object oriented style

<?php
/* ... */
?>

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

...

例2 Procedural style

<?php
/* ... */
?>

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

...

参考


CairoContext
PHP Manual