SproutCMS

This is the code documentation for the SproutCMS project

class GD

GD Image Driver.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-13
**/
class NewClassName extends GD {
    
    public function addText ($text) {
        // Method code goes here
    }
    
    /**
    * Returns an image with a transparent background. Used for rotating to
    * prevent unfilled backgrounds.
    **/
    protected function imagecreatetransparent (integer $width, integer $height) {
        // Method code goes here
    }
    
    protected function properties () {
        // Method code goes here
    }
    
    public function sharpen ($amount) {
        // Method code goes here
    }
    
    public function rotate ($amount) {
        // Method code goes here
    }
    
    public function resize ($properties) {
        // Method code goes here
    }
    
    public function flip ($direction) {
        // Method code goes here
    }
    
    public function crop ($properties) {
        // Method code goes here
    }
    
    public function __construct () {
        // Method code goes here
    }
    
    public function process ($image, $actions, $dir, $file, $render) {
        // Method code goes here
    }
    
}
?>