de.laures.cewolf.taglib.tags
Class SerializableTexturePaint

java.lang.Object
  extended by de.laures.cewolf.taglib.tags.SerializableTexturePaint
All Implemented Interfaces:
Paint, Transparency, Serializable

public class SerializableTexturePaint
extends Object
implements Paint, Serializable

Special texture paint which can be serialized.

Author:
Guido Laures
See Also:
TexturePaint, Serialized Form

Field Summary
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
SerializableTexturePaint()
           
SerializableTexturePaint(String image, int width, int height)
          Creates a new instance of SerializableGradientPaint
 
Method Summary
 PaintContext createContext(ColorModel colorModel, Rectangle rectangle, Rectangle2D rectangle2D, AffineTransform affineTransform, RenderingHints renderingHints)
           
 int getTransparency()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableTexturePaint

public SerializableTexturePaint()

SerializableTexturePaint

public SerializableTexturePaint(String image,
                                int width,
                                int height)
Creates a new instance of SerializableGradientPaint

Method Detail

createContext

public PaintContext createContext(ColorModel colorModel,
                                  Rectangle rectangle,
                                  Rectangle2D rectangle2D,
                                  AffineTransform affineTransform,
                                  RenderingHints renderingHints)
Specified by:
createContext in interface Paint

getTransparency

public int getTransparency()
Specified by:
getTransparency in interface Transparency


Copyright © 2012. All Rights Reserved.