CairoContext::newPath
cairo_new_path
(PECL cairo >= 0.1.0)
CairoContext::newPath -- cairo_new_path — The newPath purpose
Descrizione
Stile orientato agli oggetti (method):
public void CairoContext::newPath
( void
)
Stile procedurale:
Clears the current path. After this call there will be no path and no current point.
Elenco dei parametri
-
context -
A valid CairoContext object.
Valori restituiti
Nessun valore viene restituito.
Esempi
Example #1 Stile orientato agli oggetti
<?php
// [...]
CairoContext::newPath();
?>
Example #2 Stile procedurale
<?php
// [...]
cairo_new_path($context);
?>
Vedere anche:
- CairoContext::appendPath() - Appends a path to current path
- CairoContext::closePath() - Closes the current path
There are no user contributed notes for this page.
