public static function getFromSprite( string $source, int $x, int $y, int $w = 48, int $h = 48, array $attributes = [] ): Html
	{
		self::checkInit();

		$attrs = array_merge([ 'alt' => 'Sprite Icon' ], self::getSetting(self::SET_CUSTOM_IMG_ATTRS, []), $attributes);
		$attrs['class'] = implode(' ', [
			self::getSetting(self::SET_DEFAULT_CLASS),
			self::getSetting(self::SET_SPRITE_CLASS),
			@self::getSetting(self::SET_CUSTOM_IMG_ATTRS, [])['class'],
			@$attributes['class'],
		]);
		$attrs['style'] = 'background: transparent url(' . self::getSetting(self::SET_ENDPOINT) . self::getSetting(self::SET_VERSION) . "/img/sprite/{$source}" . ") -{$x}px -{$y}px; width: {$w}px; height: {$h}px;";
		$attrs['src'] = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';
		
		return Html::el('img', $attrs);
	}
public static function getFromSprite( string $source, int $x, int $y, int $w = 48, int $h = 48, array $attributes = [] ): Html
	{
		self::checkInit();

		$attrs = array_merge([ 'alt' => 'Sprite Icon' ], self::getSetting(self::SET_CUSTOM_IMG_ATTRS, []), $attributes);
		$attrs['class'] = implode(' ', [
			self::getSetting(self::SET_DEFAULT_CLASS),
			self::getSetting(self::SET_SPRITE_CLASS),
			@self::getSetting(self::SET_CUSTOM_IMG_ATTRS, [])['class'],
			@$attributes['class'],
		]);
		$attrs['style'] = 'background: transparent url(' . self::getSetting(self::SET_ENDPOINT) . self::getSetting(self::SET_VERSION) . "/img/sprite/{$source}" . ") -{$x}px -{$y}px; width: {$w}px; height: {$h}px;";
		$attrs['src'] = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';
		
		return Html::el('img', $attrs);
	}
public static function getFromSprite ( string $ source , int $ x , int $ y , int $ w = 48 , int $ h = 48 , array $ attributes = [ ] ) : Html { self :: checkInit ( ) ; $ attrs = array_merge ( [ 'alt' => 'Sprite Icon' ] , self :: getSetting ( self :: SET_CUSTOM_IMG_ATTRS , [ ] ) , $ attributes ) ; $ attrs [ 'class' ] = implode ( ' ' , [ self :: getSetting ( self :: SET_DEFAULT_CLASS ) , self :: getSetting ( self :: SET_SPRITE_CLASS ) , @ self :: getSetting ( self :: SET_CUSTOM_IMG_ATTRS , [ ] ) [ 'class' ] , @ $ attributes [ 'class' ] , ] ) ; $ attrs [ 'style' ] = 'background: transparent url(' . self :: getSetting ( self :: SET_ENDPOINT ) . self :: getSetting ( self :: SET_VERSION ) . "/img/sprite/{$source}" . ") -{$x}px -{$y}px; width: {$w}px; height: {$h}px;" ; $ attrs [ 'src' ] = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' ; return Html :: el ( 'img' , $ attrs ) ; }
Returns icon from icon sprite in img HTML TAG.

@param string $source
@param int    $x
@param int    $y
@param int    $w
@param int    $h
@param array  $attributes

@return Html
@throws SettingsException
Returns icon from icon sprite in img HTML TAG .