SubjectArea
class SubjectArea implements DynamicMetadataInterface (View source)
Properties
int | $width | ||
int | $height | ||
int | $x | ||
int | $y |
Methods
__construct(int $x, int $y, int $width = 1, int $height = 1)
SubjectArea constructor.
static DynamicMetadataInterface
createFromJsonResponse(string|array $data, bool $isArray = false)
Create a SubjectArea from the JSON data.
static string
getName()
No description
mixed
getForJson()
Get the data, which should be json-fied later.
Details
__construct(int $x, int $y, int $width = 1, int $height = 1)
SubjectArea constructor.
The SubjectArea can also be defined as a point, by setting both "width" and "height" to 1.
static DynamicMetadataInterface
createFromJsonResponse(string|array $data, bool $isArray = false)
Create a SubjectArea from the JSON data.
static string
getName()
No description
mixed
getForJson()
Get the data, which should be json-fied later.