yu.ac.bg.etf.javaqx.qswing.graphics
Class TexturePaint

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.graphics.Paint
      extended byyu.ac.bg.etf.javaqx.qswing.graphics.TexturePaint

public final class TexturePaint
extends Paint

Texture Paint.

NOTE: This class is not compatible with java.awt.TexturePaint class!

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Constructor Summary
TexturePaint(Image image)
          Constructs new TexturePaint object.
 
Method Summary
 Image getImage()
          Returns the image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TexturePaint

public TexturePaint(Image image)
Constructs new TexturePaint object.

Parameters:
image - the texture image
Throws:
java.lang.IllegalArgumentException - if the image is null
Method Detail

getImage

public Image getImage()
Returns the image.

Returns:
the image


Copyright © 2007 ETF and contributors. All Rights Reserved.