PHP 5.4.31 Released

CairoContext::fillPreserve

cairo_fill_preserve

(PECL cairo >= 0.1.0)

CairoContext::fillPreserve -- cairo_fill_preserveFills and preserve the current path

Descrierea

Stil obiect-orientat (method):

public void CairoContext::fillPreserve ( void )

Stil procedural:

void cairo_fill_preserve ( CairoContext $context )

A drawing operator that fills the current path according to the current CairoFillRule, (each sub-path is implicitly closed before being filled). Unlike CairoContext::fill(), CairoContext::fillPreserve() (Procedural cairo_fill(), cairo_fill_preserve(), respectively) preserves the path within the Context.

Parametri

context

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

Valorile întoarse

Nu este întoarsă nici o valoare.

Exemple

Example #1 Stil obiect-orientat

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

Exemplul de mai sus va afișa ceva similar cu:

...

Example #2 Stil procedural

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

Exemplul de mai sus va afișa ceva similar cu:

...

Vedeți de asemenea

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top