略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoLinearGradient

2024-12-27

The CairoLinearGradient class

(PECL cairo >= 0.1.0)

简介

Create a new CairoLinearGradient along the line defined

类摘要

CairoLinearGradient extends CairoGradientPattern {
/* 方法 */
public __construct ( float $x0 , float $y0 , float $x1 , float $y1 )
public getPoints ( void ) : array
/* 继承的方法 */
public CairoGradientPattern::addColorStopRgb ( float $offset , float $red , float $green , float $blue ) : void
public CairoGradientPattern::addColorStopRgba ( float $offset , float $red , float $green , float $blue , float $alpha ) : void
public CairoGradientPattern::getColorStopRgba ( int $index ) : array
public CairoGradientPattern::getExtend ( void ) : int
public CairoGradientPattern::setExtend ( int $extend ) : void
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.cairolineargradient.php

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