public function addSprite($sprite)
public function addSprite($sprite)
Parameters
PhutilSprite | $sprite |
Return
wild |
public function setCSSHeader($header)
public function setCSSHeader($header)
Parameters
$header |
Return
wild |
public function setScales($scales)
public function setScales($scales)
Parameters
array | $scales |
Return
wild |
public function getScales()
public function getScales()
Return
wild |
public function setSheetType($type)
public function setSheetType($type)
Parameters
$type |
Return
wild |
public function setBasePath($base_path)
public function setBasePath($base_path)
Parameters
$base_path |
Return
wild |
private function generate()
private function generate()
Return
wild |
public function generateImage($path, $scale)
public function generateImage($path, $scale)
Parameters
$path | ||
$scale |
Return
wild |
public function generateCSS($path)
public function generateCSS($path)
Parameters
$path |
Return
wild |
public function needsRegeneration($manifest)
public function needsRegeneration($manifest)
Parameters
array | $manifest |
Return
wild |
private function buildManifest()
private function buildManifest()
Return
wild |
public function generateManifest($path)
public function generateManifest($path)
Parameters
$path |
Return
wild |
private function log($message)
private function log($message)
Parameters
$message |
Return
wild |
private function loadSourceHash($sprite)
private function loadSourceHash($sprite)
Parameters
PhutilSprite | $sprite |
Return
wild |
private function loadSource($sprite, $scale)
private function loadSource($sprite, $scale)
Parameters
PhutilSprite | $sprite | |
$scale |
Return
wild |