src/UI/Image/Graph/Components.php
public static function setFont( $object, $config )
	{
		$name	= self::getConfigValue( $config, 'font.name' );
		$type	= self::getConfigValue( $config, 'font.type', FS_NORMAL );
		$size	= self::getConfigValue( $config, 'font.size', 10 );
		if( $name )
			$object->setFont( $name, $type, $size );
	}
public static function setFont( $object, $config )
	{
		$name	= self::getConfigValue( $config, 'font.name' );
		$type	= self::getConfigValue( $config, 'font.type', FS_NORMAL );
		$size	= self::getConfigValue( $config, 'font.size', 10 );
		if( $name )
			$object->setFont( $name, $type, $size );
	}
public static function setFont ( $ object , $ config ) { $ name = self :: getConfigValue ( $ config , 'font.name' ) ; $ type = self :: getConfigValue ( $ config , 'font.type' , FS_NORMAL ) ; $ size = self :: getConfigValue ( $ config , 'font.size' , 10 ) ; if ( $ name ) $ object -> setFont ( $ name , $ type , $ size ) ; }
Sets the Font of a JpGraph Object.
@access		public
@static
@param		mixed		$object			JpGraph Object
@param		array		$config			Configuration Data
@return		void
Sets the Font of a JpGraph Object .