Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
An abstract class for page boundary constants and some helper methods. More...
Static Public Member Functions | |
static | isValidName ($name) |
Checks if a name is a valid page boundary name. | |
Public Attributes | |
string const | ART_BOX = 'ArtBox' |
ArtBox. | |
string const | BLEED_BOX = 'BleedBox' |
BleedBox. | |
string const | CROP_BOX = 'CropBox' |
CropBox. | |
string const | MEDIA_BOX = 'MediaBox' |
MediaBox. | |
string const | TRIM_BOX = 'TrimBox' |
TrimBox. | |
Static Public Attributes | |
static array | $all |
All page boundaries. | |
An abstract class for page boundary constants and some helper methods.
|
static |
Checks if a name is a valid page boundary name.
string | $name | The boundary name |
boolean | A boolean value whether the name is valid or not. |
|
static |
All page boundaries.
string const PageBoundaries::ART_BOX = 'ArtBox' |
ArtBox.
The art box defines the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.
string const PageBoundaries::BLEED_BOX = 'BleedBox' |
BleedBox.
The bleed box defines the region to which the contents of the page shall be clipped when output in a production environment.
string const PageBoundaries::CROP_BOX = 'CropBox' |
CropBox.
The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed.
string const PageBoundaries::MEDIA_BOX = 'MediaBox' |
MediaBox.
The media box defines the boundaries of the physical medium on which the page is to be printed.
string const PageBoundaries::TRIM_BOX = 'TrimBox' |
TrimBox.
The trim box defines the intended dimensions of the finished page after trimming.