CairoContext::fillPreserve

cairo_fill_preserve

(PECL cairo >= 0.1.0)

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

Açıklama

Nesne yönelimli kullanım (method):

public CairoContext::fillPreserve ( void ) : void

Yordamsal kullanım:

cairo_fill_preserve ( CairoContext $context ) : void

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.

Değiştirgeler

context

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

Dönen Değerler

Hiçbir değer dönmez.

Örnekler

Örnek 1 Nesne yönelimli kullanım

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

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

...

Örnek 2 Yordamsal kullanım

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

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

...

Ayrıca Bakınız