toni@1119: /** toni@1119: * Back 2 Browser Bytecode Translator Copyright (C) 2012 Jaroslav Tulach toni@1119: * toni@1119: * toni@1119: * This program is free software: you can redistribute it and/or modify it under toni@1119: * the terms of the GNU General Public License as published by the Free Software toni@1119: * Foundation, version 2 of the License. toni@1119: * toni@1119: * This program is distributed in the hope that it will be useful, but WITHOUT toni@1119: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS toni@1119: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more toni@1119: * details. toni@1119: * toni@1119: * You should have received a copy of the GNU General Public License along with toni@1119: * this program. Look for COPYING file in the top folder. If not, see toni@1119: * http://opensource.org/licenses/GPL-2.0. toni@1111: */ toni@1111: package net.java.html.canvas; toni@1111: toni@1111: /** toni@1111: * toni@1111: * @author antonepple toni@1111: */ toni@1129: public class Pattern implements Style{ toni@1129: toni@1129: ImageData imageData; toni@1129: String repeat; toni@1129: toni@1129: public ImageData getImageData() { toni@1129: return imageData; toni@1129: } toni@1129: toni@1129: public void setImageData(ImageData imageData) { toni@1129: this.imageData = imageData; toni@1129: } toni@1129: toni@1129: public String getRepeat() { toni@1129: return repeat; toni@1129: } toni@1129: toni@1129: public void setRepeat(String repeat) { toni@1129: this.repeat = repeat; toni@1129: } toni@1129: toni@1129: toni@1111: toni@1111: }