//--------------------------------------
//               PowerUI
//
//        For documentation or 
//    if you have any issues, visit
//        powerUI.kulestar.com
//
//    Copyright  2013 Kulestar Ltd
//          www.kulestar.com
//--------------------------------------

using System;


namespace Css.Units{
	
	/// <summary>
	/// Represents an instance of a px unit.
	/// </summary>
	
	public class PxUnit:LengthUnit{
		
		public PxUnit(){
		}
		
		public PxUnit(float px){
			RawValue=px;
		}
		
		public override string ToString(){
			return RawValue+"px";
		}
		
		protected override Value Clone(){
			PxUnit result=new PxUnit();
			result.RawValue=RawValue;
			return result;
		}
		
		public override string[] PostText{
			get{
				return new string[]{"px"};
			}
		}
		
	}
	
}



