public ZoomableGraphicsContext getDocumentGraphicsContext2D ( ) { if ( this . documentGraphicsContext == null ) { final CenteringTransform transform = new CenteringTransform ( invertedAxisXProperty ( ) , invertedAxisYProperty ( ) , viewportBoundsProperty ( ) ) ; this . documentGraphicsContext = new ZoomableGraphicsContext ( getGraphicsContext2D ( ) , scaleValueProperty ( ) , documentBoundsProperty ( ) , viewportBoundsProperty ( ) , widthProperty ( ) , heightProperty ( ) , drawableElementBudgetProperty ( ) , transform ) ; } return this . documentGraphicsContext ; }
Replies the document graphics context .