Search
Unit Methods
 


 Public Methods

  Name Description

empty

Creates an empty Unit instance.

parse

Creates a Unit instance from a string representation.

percentage

Creates a Unit instance with the specified value and UnitType.Percent.

pixel

Creates a Unit instance with the specified value and UnitType.Pixel.

toString

Returns a string representation of this Unit.

 See Also