Package net.sf.jiga.xtended.impl

Examples of net.sf.jiga.xtended.impl.Sprite.clearResource()


            }
        } else {
            throw new JXAException("pixel buffer is null, no data could be loaded");
        }
        if (flushSp) {
            sp.clearResource();
        }
        return texture;
    }

    /**
 
View Full Code Here


         */
        Sprite animSp = animRecord.getCurrentSprite();
        animSp.runValidate();
        Rectangle animBounds = animSp.getBounds();
        g.draw(animBounds);
        animSp.clearResource();
        /**
         * display default animBounds
         */
        Rectangle defBounds = new Rectangle(animBounds.getSize());
        g.draw(defBounds);
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.