TextAlignment
extends AbstractEnum
in package
FinalYes
Magnification Preset Values.
Tags
Table of Contents
Constants
- AUTO : mixed = 'auto'
- BASELINE : mixed = 'baseline'
- BOTTOM : mixed = 'bottom'
- CENTER : mixed = 'center'
- TOP : mixed = 'top'
Methods
- isValid() : bool
- Returns true the value is valid for this enum.
- validate() : void
- Validates that the value passed is a valid value.
- values() : array<string|int, mixed>
- Returns all values for this enum.
Constants
AUTO
public
mixed
AUTO
= 'auto'
BASELINE
public
mixed
BASELINE
= 'baseline'
BOTTOM
public
mixed
BOTTOM
= 'bottom'
CENTER
public
mixed
CENTER
= 'center'
TOP
public
mixed
TOP
= 'top'
Methods
isValid()
Returns true the value is valid for this enum.
public
static isValid(string $value) : bool
Parameters
- $value : string
Return values
bool —true if value is valid
validate()
Validates that the value passed is a valid value.
public
static validate(string $value) : void
Parameters
- $value : string
values()
Returns all values for this enum.
public
static values() : array<string|int, mixed>