Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
This class represents a comment box on a page of feedback. More...
Public Member Functions | |
__construct (\stdClass $record=null) | |
Convert a compatible stdClass into an instance of a comment. More... | |
Public Attributes | |
string | $colour = 'yellow' |
colour - One of red, yellow, green, blue, white | |
int | $gradeid = 0 |
gradeid for this annotation | |
int | $id = 0 |
unique id for this annotation | |
int | $pageno = 0 |
page number for this annotation | |
string | $rawtext = '' |
The comment text. | |
int | $width = 120 |
width of the comment box | |
int | $x = 0 |
starting location in pixels. More... | |
int | $y = 0 |
starting location in pixels. More... | |
This class represents a comment box on a page of feedback.
assignfeedback_editpdf\comment::__construct | ( | \stdClass | $record = null | ) |
Convert a compatible stdClass into an instance of a comment.
stdClass | $record |
int assignfeedback_editpdf\comment::$x = 0 |
starting location in pixels.
Image resolution is 100 pixels per inch
int assignfeedback_editpdf\comment::$y = 0 |
starting location in pixels.
Image resolution is 100 pixels per inch