Search
MeasureUnit.fromGraphicsUnit Method
See Also
 

Returns the measure unit corresponding to the specified graphics unit.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public static MeasureUnit fromGraphicsUnit (
    GraphicsUnit unit
)

 Parameters

unit

One of the GraphicsUnit values.

 Return Value

The built-in MeasureUnit corresponding to the specified graphics unit. If unit is World, this method returns null. If unit is Display, this method returns Pixel.

 See Also