Class ComponentAvatar
The avatar component. This fetches the avatar from ComponentAvatar::AVATAR_URL
using the user's UID.
If the user does not have an avatar, it will default to a blank #f8f8f8 square.
&opaqueavatar
can be globally set to draw a white background behind the avatar if the avatar is transparent.
&avatarrounding
can be globally set to override the rounding set by the template.
- Component
-
ComponentAvatar
public
|
#
__construct(
|
public
integer
|
|
public
integer
|
|
public
|
string |
AVATAR_URL
|
#
'https://a.ppy.sh/'
|
$usesSpace,
$x,
$y
|