Color
PHP FPDF library Example to Set Gradient Background Color in PDF Document
Paints linear and radial gradients as well as multi-color gradients (coons patch meshes) inside a rectangle. LinearGradient(float x, float y, float w, float h, array col1, array col2 [, array coords]) x: abscissa of the top left corner of the rectangle.y: ordinate of the top… Read More »PHP FPDF library Example to Set Gradient Background Color in PDF Document
PHP FPDF library Example to Draw 3D Solid Color Star Shape in PDF Document
This script draws a star in a given position, with a given number of points and with a given radius. Star(float X, float Y, float rin, float rout, int points [, string style]) X: abscissa of center.Y: ordinate of center.rin: internal radius.rout: external radius.points: number… Read More »PHP FPDF library Example to Draw 3D Solid Color Star Shape in PDF Document