Zooms and scrolls the view to fit the specified document rectangle in the viewport.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void zoomToRect ( |
A Rectangle2D instance specifying the desired viewport's position and size.
true to center the rectangle in viewport, or false to align it to top-left corner.