Page MenuHomenazrin ltd
Diviner Tech Docs PhabricatorFilesComposeAvatarBuiltinFile

final class PhabricatorFilesComposeAvatarBuiltinFile
Phorge Technical Documentation (Files)

This class is not documented.

Methods

public function getBuiltinFileKey()

This method is not documented.
Return
wild

public function getBuiltinDisplayName()

This method is not documented.
Return
wild

public function loadBuiltinFileData()

This method is not documented.
Return
wild

public function updateUser($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

private function getMap($map_key)

This method is not documented.
Parameters
$map_key
Return
wild

private function pickMap($map_key, $username)

This method is not documented.
Parameters
$map_key
$username
Return
wild

public function setIcon($icon)

This method is not documented.
Parameters
$icon
Return
wild

public function getIcon()

This method is not documented.
Return
wild

public function setColor($color)

This method is not documented.
Parameters
$color
Return
wild

public function getColor()

This method is not documented.
Return
wild

public function setBorder($border)

This method is not documented.
Parameters
$border
Return
wild

public function getBorder()

This method is not documented.
Return
wild

private function getImageDisplayName($icon, $color, $border)

This method is not documented.
Parameters
$icon
$color
$border
Return
wild

private function composeImage($color, $image, $border)

This method is not documented.
Parameters
$color
$image
$border
Return
wild

private static function rgba2gd($rgba)

Convert a color from RGBA to a value usable in PHP-GD. Each RGB color should be expressed as an integer from 0 to 255. The Alpha Channel should be expressed as a float from 0 to 1.

Parameters
array$rgbaarray( int Red, int Green, int Blue, float Alpha )
Return
int

private function newImageMap()

This method is not documented.
Return
wild

private function newPackMap()

This method is not documented.
Return
wild

private function newBorderMap()

This method is not documented.
Return
wild

private function newColorMap()

This method is not documented.
Return
wild