CairoContext::newPath

(PECL cairo >= 0.1.0)
The newPath purpose
public void CairoContext::newPath ( void )

Object oriented style (method):

Procedural style:

void cairo_new_path ( CairoContext $context )

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

Parameters:
context

A valid CairoContext object.

Returns:

No value is returned.

Examples:
Object oriented style
<?php
// [...]
CairoContext::newPath();
?>

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

See also:

CairoContext::appendPath() -

CairoContext::closePath() -

doc_php
2016-02-24 15:59:01
Comments
Leave a Comment

Please login to continue.