Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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. | |
Public Attributes | |
string | $colour = 'yellow' |
colour - One of red, yellow, green, blue, white | |
int | $draft = 1 |
draft status, default 1 = true | |
int | $endx = 0 |
ending location in pixels. | |
int | $endy = 0 |
ending location in pixels. | |
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. | |
int | $y = 0 |
starting location in pixels. | |
This class adds and removes annotations from a page of a response.
assignfeedback_editpdf\annotation::__construct | ( | \stdClass | $record = null | ) |
Convert a compatible stdClass into an instance of this class.
stdClass | $record |
int assignfeedback_editpdf\annotation::$endx = 0 |
ending location in pixels.
Image resolution is 100 pixels per inch
int assignfeedback_editpdf\annotation::$endy = 0 |
ending location in pixels.
Image resolution is 100 pixels per inch
int assignfeedback_editpdf\annotation::$x = 0 |
starting location in pixels.
Image resolution is 100 pixels per inch
int assignfeedback_editpdf\annotation::$y = 0 |
starting location in pixels.
Image resolution is 100 pixels per inch