首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

GmagickPixel (class)

Introduction

(PECL gmagick >= Unknown)

Class synopsis

GmagickPixel {

/* Methods */

代码语言:javascript
复制
public __construct ([ string $color ] )
代码语言:javascript
复制
public mixed getcolor ([ bool $as_array = false [, bool $normalize_array = false ]] )
代码语言:javascript
复制
public int getcolorcount ( void )
代码语言:javascript
复制
public float getcolorvalue ( int $color )
代码语言:javascript
复制
public GmagickPixel setcolor ( string $color )
代码语言:javascript
复制
public GmagickPixel setcolorvalue ( int $color , float $value )

}

Table of Contents

  • GmagickPixel::__construct — The GmagickPixel constructor
  • GmagickPixel::getcolor — Returns the color
  • GmagickPixel::getcolorcount — Returns the color count associated with this color
  • GmagickPixel::getcolorvalue — Gets the normalized value of the provided color channel
  • GmagickPixel::setcolor — Sets the color
  • GmagickPixel::setcolorvalue — Sets the normalized value of one of the channels

← GmagickDraw::settextencoding

GmagickPixel::__construct →

代码语言:txt
复制
 ? 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com