Returns the measure unit corresponding to the specified graphics unit.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public static MeasureUnit fromGraphicsUnit ( |
One of the GraphicsUnit values.
The built-in MeasureUnit corresponding to the specified graphics unit. If unit is GraphicsUnit.World, this method returns {@code null}. If unit is GraphicsUnit.Display, this method returns Pixel.