1  /*
     2   Copyright aswing.org, see the LICENCE.txt.
     3  */
     4   
     5  import org.aswing.*;
     6  import org.aswing.plaf.*;
     7   
     8  /**
     9   *
    10   * @author iiley
    11   */
    12  class org.aswing.plaf.ASFontUIResource extends ASFont implements UIResource{
    13  	
    14  	public function ASFontUIResource(_name:String , _size:Number , _bold:Boolean , _italic:Boolean , _underline:Boolean){
    15  		super(_name, _size, _bold, _italic , _underline);
    16  	}
    17  		
    18  	public static function createResourceFont(font:ASFont):ASFontUIResource{
    19  		return new ASFontUIResource(font.getName(), font.getSize(), font.getBold(), font.getItalic(), font.getUnderline());
    20  	}
    21  	
    22  }
    23