CairoContext::rectangle

cairo_rectangle

(PECL cairo >= 0.1.0)

CairoContext::rectangle -- cairo_rectangleThe rectangle purpose

Description

Object oriented style (method):

public CairoContext::rectangle ( float $x , float $y , float $width , float $height ) : void

Procedural style:

cairo_rectangle ( CairoContext $context , float $x , float $y , float $width , float $height ) : void

Description here.

Warning

This function is currently not documented; only its argument list is available.

Parameters

context

Description...

x

Description...

y

Description...

width

Description...

height

Description...

Return Values

Description...

Examples

Example #1 Object oriented style

<?php
/* ... */
?>

The above example will output something similar to:

...

Example #2 Procedural style

<?php
/* ... */
?>

The above example will output something similar to:

...

See Also

  • Classname::Method()