Class ComponentFlag
The flag component. Looks for a country flag in ComponentFlag::FLAGS_DIRECTORY
based on the user's country code.
&flagshadow
can be used globally and adds a 3px 50% opacity shadow to the flag.
&flagstroke
can be used globally and adds a 1px white rounded stroke with 93.3% opacity around the flag.
- Component
-
ComponentFlag
public
|
#
__construct(
|
public
integer
|
|
public
integer
|
|
public
|
string |
FLAGS_DIRECTORY
|
#
'flags/'
|
$usesSpace,
$x,
$y
|