/* * 2014 SMEdit development team * http://lazygamerz.org * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser Gereral Public Licence as published by the Free * Software Foundation; either version 3 of the Licence, or (at your opinion) any * later version. * * This library is distributed in the hope that it will be usefull, but WITHOUT ANY * WARRANTY; without even the implied warranty of merchantability or fitness for a * particular purpose. See the GNU Lesser General Public Licence for more details. * * You should have received a copy of the GNU Lesser General Public Licence along * with this library; if not, write to the Free Software Foundation, Inc., 59 * Temple Place, Suite 330, Boston, Ma 02111-1307 USA. * * http://www.gnu.org/licenses/lgpl.html (English) * http://gugs.sindominio.net/gnu-gpl/lgpl-es.html * */ package jo.util.jgl.obj; import java.util.logging.Logger; import jo.util.jgl.obj.tri.JGLObj; public class JGLObjBitmap extends JGLObj { private static final Logger LOG = Logger.getLogger(JGLObjBitmap.class.getName()); private int mImageID; private int mLeft; private int mTop; private int mWidth; private int mHeight; public JGLObjBitmap(int imageID, int left, int top, int width, int height) { mImageID = imageID; mLeft = left; mTop = top; mWidth = width; mHeight = height; } public int getLeft() { return mLeft; } public void setLeft(int left) { mLeft = left; } public int getTop() { return mTop; } public void setTop(int top) { mTop = top; } public int getWidth() { return mWidth; } public void setWidth(int width) { mWidth = width; } public int getHeight() { return mHeight; } public void setHeight(int height) { mHeight = height; } public int getImageID() { return mImageID; } public void setImageID(int imageID) { mImageID = imageID; } }