略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: GmagickPixel::setcolor

2024-11-13

GmagickPixel::setcolor

(PECL gmagick >= Unknown)

GmagickPixel::setcolorSets the color

说明

public GmagickPixel::setcolor(string $color): GmagickPixel

Sets the color described by the GmagickPixel object, with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).

参数

color

The color definition to use in order to initialise the GmagickPixel object.

返回值

The GmagickPixel object.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/gmagickpixel.setcolor.php

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