CairoContext
PHP Manual

CairoContext::setSourceRGBA

cairo_set_source

(PECL cairo >= 0.1.0)

CairoContext::setSourceRGBA -- cairo_set_sourceThe setSourceRGBA purpose

Opis

Object oriented style (method):

public void CairoContext::setSourceRGBA ( string $red , string $green , string $blue , string $alpha )

Procedural style:

void cairo_set_source ( CairoContext $context , CairoPattern $pattern )

Description here.

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Parametry

context

Description...

pattern

Description...

red

Description...

green

Description...

blue

Description...

alpha

Description...

Zwracane wartości

Description...

Przykłady

Przykład #1 Object oriented style

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

Powyższy przykład wyświetli coś podobnego do:

...

Przykład #2 Procedural style

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

Powyższy przykład wyświetli coś podobnego do:

...

Zobacz też:


CairoContext
PHP Manual