CairoContext::newPath
cairo_new_path
(PECL cairo >= 0.1.0)
CairoContext::newPath -- cairo_new_path — The newPath purpose
Beschreibung
Objektorientierter Stil (method):
public void CairoContext::newPath
( void
)
Prozeduraler Stil:
Clears the current path. After this call there will be no path and no current point.
Parameter-Liste
-
context -
A valid CairoContext object.
Rückgabewerte
Es wird kein Wert zurückgegeben.
Beispiele
Beispiel #1 Objektorientierter Stil
<?php
// [...]
CairoContext::newPath();
?>
Beispiel #2 Prozeduraler Stil
<?php
// [...]
cairo_new_path($context);
?>
Siehe auch
- CairoContext::appendPath() - Appends a path to current path
- CairoContext::closePath() - Closes the current path