PHP » GoLang |
login |
register |
about
|
GoLang CairoRadialGradient::__construct
request it (275)
GoLang replacement for PHP's CairoRadialGradient::__construct
[edit | history]
PHP CairoRadialGradient::__constructPHP original manual for CairoRadialGradient::__construct [ show | php.net ]CairoRadialGradient::__construct(PECL cairo >= 0.1.0) CairoRadialGradient::__construct — The __construct purpose DescriptionObject oriented style:
public CairoRadialGradient::__construct
( float
$x0
, float $y0
, float $r0
, float $x1
, float $y1
, float $r1
)Procedural style: Creates a new radial gradient CairoPattern between the two circles defined by (x0, y0, r0) and (x1, y1, r1). Before using the gradient pattern, a number of color stops should be defined using CairoRadialGradient::addColorStopRgb() or CairoRadialGradient::addColorStopRgba(). Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with CairoRadialGradient::setMatrix(). Parameters
Return ValuesDescription... Examples
Example #1 CairoRadialGradient::__construct() example
<?php The above example will output something similar to: ... See Also
|
more
Recently updated
more
Most requested
|