Package com.ardor3d.extension.ui.text

Examples of com.ardor3d.extension.ui.text.CharacterDescriptor


            }

            final Map<Character, CharacterDescriptor> descriptors = Maps.newHashMap();
            for (final int val : closest.bmFont.getMappedChars()) {
                final Char c = closest.bmFont.getChar(val);
                final CharacterDescriptor desc = new CharacterDescriptor(c.x, c.y, c.width, c.height, c.xadvance,
                        c.xoffset, c.yoffset, 1.0, null);
                descriptors.put((char) val, desc);
            }

            closest.uiFont = new UIFont((Texture2D) closest.bmFont.getPageTexture(), descriptors,
View Full Code Here

TOP

Related Classes of com.ardor3d.extension.ui.text.CharacterDescriptor

Copyright © 2018 www.massapicom. 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.