GetThumbnailOptions
class GetThumbnailOptions extends Options
Options for the get_thumbnail operation
Traits
Constants
DATETIME_FORMAT |
A Dropbox-friendly timestamp wrapper |
Methods
Create an Options object from a combination of configuration arrays and other option objects
The size for the thumbnail image. The default for this union is w64h64.
The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts. The default for this union is jpeg.
Details
in Options at line line 40
__construct(
array $defaults = array())
Options constructor.
in Options at line line 55
boolean
offsetExists(
string $offset)
Whether a offset exists
in Options at line line 69
mixed
offsetGet(
string $offset)
Offset to retrieve
in Options at line line 82
offsetSet(
string $offset,
mixed $value)
Offset to set
in Options at line line 94
offsetUnset(
string $offset)
Offset to unset
in Options at line line 107
static
Options
merge(
array $options)
Create an Options object from a combination of configuration arrays and other option objects
in Options at line line 127
array
toArray()
Return the generated options
in ThumbnailSizeTrait at line line 28
ThumbnailSizeTrait
setThumbnailSize(
ThumbnailSize $size)
The size for the thumbnail image. The default for this union is w64h64.
in ThumbnailFormatTrait at line line 30
ThumbnailFormatTrait
setThumbnailFormat(
ThumbnailFormat $format)
The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be preferred, while png is better for screenshots and digital arts. The default for this union is jpeg.