org.xwt
Class VectorGraphics.RasterPath

java.lang.Object
  extended byorg.xwt.VectorGraphics.RasterPath
Enclosing class:
VectorGraphics

public static class VectorGraphics.RasterPath
extends java.lang.Object

a vector path


Constructor Summary
VectorGraphics.RasterPath()
           
 
Method Summary
 int boundingBoxHeight()
           
 int boundingBoxWidth()
           
 void fill(PixelBuffer buf, VectorGraphics.Paint paint)
          fill the interior of the path
 void stroke(PixelBuffer buf, int width, int color)
          stroke the outline of the path
 void stroke(PixelBuffer buf, int width, int color, java.lang.String dashArray, int dashOffset, float segLength)
           
 void translate(int dx, int dy)
          translate a rasterized path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorGraphics.RasterPath

public VectorGraphics.RasterPath()
Method Detail

translate

public void translate(int dx,
                      int dy)
translate a rasterized path


fill

public void fill(PixelBuffer buf,
                 VectorGraphics.Paint paint)
fill the interior of the path


stroke

public void stroke(PixelBuffer buf,
                   int width,
                   int color)
stroke the outline of the path


stroke

public void stroke(PixelBuffer buf,
                   int width,
                   int color,
                   java.lang.String dashArray,
                   int dashOffset,
                   float segLength)

boundingBoxWidth

public int boundingBoxWidth()

boundingBoxHeight

public int boundingBoxHeight()