略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoContext::newPath

2024-04-20

CairoContext::newPath

cairo_new_path

(PECL cairo >= 0.1.0)

CairoContext::newPath -- cairo_new_pathThe newPath purpose

说明

面向对象风格 (method):

public CairoContext::newPath ( void ) : void

过程化风格:

cairo_new_path ( CairoContext $context ) : void

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

参数

context

A valid CairoContext object.

返回值

没有返回值。

范例

Example #1 面向对象风格

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

Example #2 过程化风格

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

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/cairocontext.newpath.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3