@@ -0,0 +1,2678 @@
+package org.obsidianbox.frames;%0A%0Apublic interface Texture extends IWidget %7B%0A    /**%0A     * Gets the url of this texture to render.%0A     *%0A     * @return the url.%0A     */%0A    public String getUrl();%0A%0A    /**%0A     * Sets the url of this texture to render. All textures must be of png type and a size that is a factor of 2%0A     * (e.g 64x128). Use the alpha channel for hiding empty space.%0A     *%0A     * @param url the url to set this texture to.%0A     * @return the texture.%0A     */%0A    public Texture setUrl(String url);%0A%0A    /**%0A     * Gets if the texture draws the full alpha channel instead of just using a bit-mask.%0A     *%0A     * @return true if drawing the alpha channel, false if not.%0A     */%0A    public boolean isDrawingAlphaChannel();%0A%0A    /**%0A     * Sets if the texture should draw the full alpha channel instead of just using a bit-mask.%0A     *%0A     * @param draw true to draw the alpha channel, false to not draw it.%0A     * @return the texture.%0A     */%0A    public Texture setDrawAlphaChannel(boolean draw);%0A%0A    /**%0A     * Set the offset to the top of the image.%0A     * Setting this to a anything other than -1 will draw a 1:1 slice of the texture rather than scaling it to fit the%0A     * width and height.%0A     *%0A     * @param top the top offset.%0A     * @return the texture.%0A     */%0A    public Texture setTop(int top);%0A%0A    /**%0A     * Get the offset to the top of the image.%0A     *%0A     * @return the top offset.%0A     */%0A    public int getTop();%0A%0A    /**%0A     * Set the offset to the left of the image.%0A     * Setting this to a anything other than -1 will draw a 1:1 slice of the texture rather than scaling it to fit the%0A     * width and height.%0A     *%0A     * @param left the left offset.%0A     * @return the texture.%0A     */%0A    public Texture setLeft(int left);%0A%0A    /**%0A     * Get the offset to the left of the image.%0A     *%0A     * @return the left offset.%0A     */%0A    public int getLeft();%0A%0A    /**%0A     * @see Texture#setFinishDelegate(Runnable).%0A     * @return the finish delegate.%0A     */%0A    public Runnable getFinishDelegate();%0A%0A    /**%0A     * Given delegates run() method will be called when the download of the image has been completed.%0A     * The internal delegate variable will be set to null after that.%0A     *%0A     * @param finishDelegate the delegate.%0A     * @return the texture.%0A     */%0A    public Texture setFinishDelegate(Runnable finishDelegate);%0A%0A    /**%0A     * Gets the actual width of the image.%0A     *%0A     * @return the actual width of the image.%0A     */%0A    public int getOriginalWidth();%0A%0A    /**%0A     * Gets the actual height of the image.%0A     *%0A     * @return the actual height of the image.%0A     */%0A    public int getOriginalHeight();%0A%7D%0A

Add Texture interface