function pdf setcolor


pdf_setcolorPodręcznik PHPPoprzedniNastępnypdf_setcolor (PHP 4 >= 4.0.5)pdf_setcolor -- Sets fill and stroke colorDescriptionvoid pdf_setcolor ( int pdf object, string type, string colorspace, float c1 [, float c2 [, float c3 [, float c4]]]) Set the current color space and color. The parameter type can be "fill", "stroke", or "both" to specify that the color is set for filling, stroking or both filling and stroking. The parameter colorspace can be gray, rgb, cmyk, spot or pattern. The parameters c1, c2, c3 and c4 represent the color components for the color space specified by colorspace. Except as otherwise noted, the color components are floating-point values that range from 0 to 1. For gray only c1 is used. For rgb parameters c1, c2, and c3 specify the red, green and blue values respectively. // Set fill and stroke colors to white. pdf_setcolor($pdf, "both", "rgb", 1, 1, 1); For cmyk, parameters c1, c2, c3, and c4 are the cyan, magenta, yellow and black values, respectively. // Set fill and stroke colors to white. pdf_setcolor($pdf, "both", "cmyk", 0, 0, 0, 1); For spot, c1 should be a spot color handles returned by pdf_makespotcolor() and c2 is a tint value between 0 and 1. For pattern, c1 should be a pattern handle returned by pdf_begin_pattern(). PoprzedniSpis treściNastępnypdf_set_word_spacingPoczątek rozdziałupdf_setdash

Wyszukiwarka

Podobne podstrony:
function pdf execute image
function pdf set horiz scaling
function pdf rect
function pdf stroke
function pdf close
function pdf set info subject
function pdf arcn
function pdf open gif
function pdf setrgbcolor
function pdf get value
function pdf setrgbcolor fill
function pdf set info title
function pdf open image file
function pdf setrgbcolor
function pdf skew
function pdf get parameter

więcej podobnych podstron