Methods
AgjGd is a single class, \AndrewGJohnson\AgjGd, exposing the following public static methods:
- AgjGd::imageblendedcolorallocate allocates a new blended color based on two existing allocated colors for your PHP GD images.
- AgjGd::imagecolorallocatefromstring allocates a color based on a string for your PHP GD images.
- AgjGd::imagefttextfilter is a drop-in replacement for imagefttext/imagettftext with added parameters to add filtered text enabling blur, glow and shadow effects on your PHP GD images.
- AgjGd::imagefttextgradient is a drop-in replacement for imagefttext/imagettftext with added parameters to add gradient coloring effects to your PHP GD images.
- AgjGd::imagegradientrectangle draws a gradient filled rectangle on your PHP GD images.
- AgjGd::linebreaksfortext automatically inserts line breaks into your text while using PHP’s imagefttext/imagettftext functions.
Aliases
- AgjGd::imagefttextblur is an alias of imagefttextfilter
- AgjGd::imagettftextblur is an alias of imagefttextfilter
- AgjGd::imagettftextfilter is an alias of imagefttextfilter
- AgjGd::imagettftextgradient is an alias of imagefttextgradient
- AgjGd::linebreaks4imagefttext is an alias of linebreaksfortext
- AgjGd::linebreaks4imagettftext is an alias of linebreaksfortext
- AgjGd::linebreaks4text is an alias of linebreaksfortext
- AgjGd::linebreaksforimagefttext is an alias of linebreaksfortext
- AgjGd::linebreaksforimagettftext is an alias of linebreaksfortext