afreechart/src/main/java/org/afree/chart/plot/dial/DialPlot.java
/**
     * Returns the frame surrounding the specified view RectShape.
     *
     * @param view  the view RectShape (<code>null</code> not permitted).
     *
     * @return The frame RectShape.
     */
Returns the frame surrounding the specified view RectShape.
@param view  the view RectShape (null not permitted).

@return The frame RectShape.
Returns the frame surrounding the specified view RectShape . @param view the view RectShape ( null not permitted ) . @return The frame RectShape .
private RectShape viewToFrame(RectShape view) {
        double width = view.getWidth() / this.viewW;
        double height = view.getHeight() / this.viewH;
        double x = view.getX() - (width * this.viewX);
        double y = view.getY() - (height * this.viewY);
        return new RectShape(x, y, width, height);
    }
private RectShape viewToFrame ( RectShape view ) { double width = view . getWidth ( ) / this . viewW ; double height = view . getHeight ( ) / this . viewH ; double x = view . getX ( ) - ( width * this . viewX ) ; double y = view . getY ( ) - ( height * this . viewY ) ; return new RectShape ( x , y , width , height ) ; }
Returns the frame surrounding the specified view RectShape.
Returns the frame surrounding the specified view RectShape .