DroidDiagram Programmer's Guide
DiagramView.zoomToFit Method (Rectangle2D)
See Also
 






Zooms and scrolls the diagram so that the specified rectangular area becomes visible. The DiagramView component must be contained within a JScrollPane in order to use this method.

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

 Syntax

Java  Copy Code

public void zoomToFit (
    RectF rect
)

 Parameters

rect

A RectF object representing the region to which the view should be fitted.

 See Also

zoomToFit Method Overload List
DiagramView Members
DiagramView Class
com.mindfusion.diagramming Namespace