Unit class
Unit class
Provides the base class for units of measurement.
The Unit type exposes the following members:
Properties
Property | Description |
---|---|
unit_type | Gets the unit type of the Unit . |
Methods
Method | Description |
---|---|
equals | Determines whether the specified Unit , is equal to this instance. |
from_centimeters | Returns a Length object that is represented in centimeters. |
from_millimeters | Returns a Length object that is represented in millimeters. |
from_quarter_millimeters | Returns a Length object that is represented in quarter-millimeters. |
from_inches | Returns a Length object that is represented in inches. |
from_picas | Returns a Length object that is represented in picas. |
from_points | Returns a Length object that is represented in points. |
from_pixels | Returns a Length object that is represented in pixels. |
from_degrees | Returns a Angle object that is represented in degrees. |
from_gradians | Returns a Angle object that is represented in gradians. |
from_radians | Returns a Angle object that is represented in radians. |
from_turns | Returns a Angle object that is represented in turns. |
from_seconds | Returns a Time object that is represented in seconds. |
from_milliseconds | Returns a Time object that is represented in milliseconds. |
from_hertz | Returns a Frequency object that is represented in hertz. |
from_kilo_hertz | Returns a Frequency object that is represented in kiloHertz. |
from_dots_per_inch | Returns a Resolution object that is represented in dots per inch. |
from_dots_per_centimeters | Returns a Resolution object that is represented in dots per centimeters. |
from_dots_per_pixel | Returns a Resolution object that is represented in dots per pixels. |
See Also
- module
aspose.svg.drawing
- class
Angle
- class
Frequency
- class
Length
- class
Resolution
- class
Time
- class
Unit