CairoContext::newPath

cairo_new_path

(PECL cairo >= 0.1.0)

CairoContext::newPath -- cairo_new_pathThe newPath purpose

Açıklama

Nesne yönelimli kullanım (method):

public CairoContext::newPath ( void ) : void

Yordamsal kullanım:

cairo_new_path ( CairoContext $context ) : void

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

Değiştirgeler

context

A valid CairoContext object.

Dönen Değerler

Hiçbir değer dönmez.

Örnekler

Örnek 1 Nesne yönelimli kullanım

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

Örnek 2 Yordamsal kullanım

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

Ayrıca Bakınız