Back to project page fun-gl.
The source code is released under:
Apache License
If you think the Android project fun-gl listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jcxavier.android.opengl.game.type; //from w w w . j a v a 2 s .c om import com.jcxavier.android.opengl.math.Vector2; /** * Created on 12/03/2014. * * @author Joo Xavier <jcxavier@jcxavier.com> */ public interface Resizeable { /** * Sets the size of the object. * * @param size the size to set */ void setSize(final Vector2 size); /** * Retrieves the size of the object. * * @return the size */ Vector2 getSize(); /** * Sets the anchor point of the object. * * @param anchorPoint the anchor point to set */ void setAnchorPoint(final Vector2 anchorPoint); /** * Retrieves the anchor point of the object. * * @return the anchor point */ Vector2 getAnchorPoint(); }