PHP 5.6.0RC3 is available

CairoContext::newPath

cairo_new_path

(PECL cairo >= 0.1.0)

CairoContext::newPath -- cairo_new_pathThe newPath purpose

Descrierea

Stil obiect-orientat (method):

public void CairoContext::newPath ( void )

Stil procedural:

void cairo_new_path ( CairoContext $context )

Clears the current path. After this call there will be no path and no current point.

Parametri

context

A valid CairoContext object.

Valorile întoarse

Nu este întoarsă nici o valoare.

Exemple

Example #1 Stil obiect-orientat

<?php
// [...]
CairoContext::newPath();
?>

Example #2 Stil procedural

<?php
// [...]
cairo_new_path($context);
?>

Vedeți de asemenea

add a note add a note

User Contributed Notes

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