Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
assignfeedback_editpdf\annotation Class Reference

This class adds and removes annotations from a page of a response. More...

Public Member Functions

 __construct (\stdClass $record=null)
 Convert a compatible stdClass into an instance of this class. More...
 

Public Attributes

string $colour = 'yellow'
 colour - One of red, yellow, green, blue, white
 
int $endx = 0
 ending location in pixels. More...
 
int $endy = 0
 ending location in pixels. More...
 
int $gradeid = 0
 gradeid for this annotation
 
int $id = 0
 unique id for this annotation
 
int $pageno = 0
 page number for this annotation
 
string $path = ''
 path information for drawing the annotation.
 
string $type = 'line'
 type - One of line, oval, rect, etc
 
int $x = 0
 starting location in pixels. More...
 
int $y = 0
 starting location in pixels. More...
 

Detailed Description

This class adds and removes annotations from a page of a response.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

assignfeedback_editpdf\annotation::__construct ( \stdClass  $record = null)

Convert a compatible stdClass into an instance of this class.

Parameters
stdClass$record

Member Data Documentation

◆ $endx

int assignfeedback_editpdf\annotation::$endx = 0

ending location in pixels.

Image resolution is 100 pixels per inch

◆ $endy

int assignfeedback_editpdf\annotation::$endy = 0

ending location in pixels.

Image resolution is 100 pixels per inch

◆ $x

int assignfeedback_editpdf\annotation::$x = 0

starting location in pixels.

Image resolution is 100 pixels per inch

◆ $y

int assignfeedback_editpdf\annotation::$y = 0

starting location in pixels.

Image resolution is 100 pixels per inch


The documentation for this class was generated from the following file: