Examples of GfrDimension2D


Examples of org.geoforge.awt.geom.dimension2d.GfrDimension2D

        return s_getStringDimension(str, fnt, frc).getWidth();
    }
   
    static public GfrDimension2D s_getStringDimension(final String string, final Font font, final FontRenderContext fontRenderContext)
    {
        final GfrDimension2D dimension = new GfrDimension2D(font.getStringBounds(string, _FRC_FONT_RENDER_CONTEXT_));
        return new GfrDimension2D(dimension.getWidth(), dimension.getHeight() / 2.0);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.