Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.gvt
Class PatternPaint.PatternPaintContextWrapper  view PatternPaint.PatternPaintContextWrapper download PatternPaint.PatternPaintContextWrapper.java

java.lang.Object
  extended byorg.apache.batik.gvt.PatternPaint.PatternPaintContextWrapper
All Implemented Interfaces:
java.awt.PaintContext
Enclosing class:
PatternPaint

static class PatternPaint.PatternPaintContextWrapper
extends java.lang.Object
implements java.awt.PaintContext


Field Summary
(package private)  PatternPaintContext ppc
           
(package private)  int xShift
           
(package private)  int yShift
           
 
Constructor Summary
(package private) PatternPaint.PatternPaintContextWrapper(PatternPaintContext ppc, int xShift, int yShift)
           
 
Method Summary
 void dispose()
          Release the resources allocated for the paint.
 java.awt.image.ColorModel getColorModel()
          Return the color model of this context.
 java.awt.image.Raster getRaster(int x, int y, int width, int height)
          Return a raster containing the colors for the graphics operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ppc

PatternPaintContext ppc

xShift

int xShift

yShift

int yShift
Constructor Detail

PatternPaint.PatternPaintContextWrapper

PatternPaint.PatternPaintContextWrapper(PatternPaintContext ppc,
                                        int xShift,
                                        int yShift)
Method Detail

dispose

public void dispose()
Description copied from interface: java.awt.PaintContext
Release the resources allocated for the paint.

Specified by:
dispose in interface java.awt.PaintContext

getColorModel

public java.awt.image.ColorModel getColorModel()
Description copied from interface: java.awt.PaintContext
Return the color model of this context. It may be different from the hint specified during createContext, as not all contexts can generate color patterns in an arbitrary model.

Specified by:
getColorModel in interface java.awt.PaintContext

getRaster

public java.awt.image.Raster getRaster(int x,
                                       int y,
                                       int width,
                                       int height)
Description copied from interface: java.awt.PaintContext
Return a raster containing the colors for the graphics operation.

Specified by:
getRaster in interface java.awt.PaintContext