Sets the units for measuring of lengths and sizes.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setMeasureUnit ( |
A member of the GraphicsUnit enumeration.
Many properties in the DroidDiagram API are used to specify the dimensions of diagram items or the size of various visual elements, for example, selection handles, arrowhead shapes, frame widths, and so on. MeasureUnit specifies the measure of length in which these size values are defined.
Setting new measure unit through this property will not re-scale diagram elements automatically to preserve their actual size. If you need that, call the changeUnit method.