Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.jboogie.util

Class PsGraphics

com.gentleware.jboogie.util.PsGraphics

public class PsGraphics



 Attribute Summary
private boolean  autoClose
 
private Map  colormap
 
private static String  ellipseDef
 
private Color  fColor
 
private Font  fFont
 
private Map  fontmap
 
private static String  isolatin1encoding
 
private PrintWriter  p
 
private static String  reencodeDef
 
arrow_up
 

 Association Summary
private Rectangle  _clip
 
arrow_up
 

 Constructor Summary
public   PsGraphics(String filename)
 
public   PsGraphics(String filename, Rectangle boundingBox)
 
public   PsGraphics(OutputStream stream)
 
public   PsGraphics(OutputStream stream, Rectangle bb)
 
arrow_up
 

 Method Summary
public void   clearRect(int x, int y, int w, int h)
 
public void   clipRect(int x, int y, int w, int h)
 
public void   comment(String cmt)
 
public void   copyArea(int x, int y, int width, int height, int dx, int dy)
 
public Graphics   create()
 
public Graphics   create(int x, int y, int width, int height)
 
public void   dispose()
 
public void   drawArc(int x, int y, int w, int h, int startAngle, int arcAngle)
 
public boolean   drawImage(Image img, int x, int y, ImageObserver observer)
 
public boolean   drawImage(Image img, int x, int y, int w, int h, ImageObserver observer)
 
public boolean   drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
 
public boolean   drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
 
public boolean   drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
 
public boolean   drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
 
public void   drawLine(int x1, int y1, int x2, int y2)
 
public void   drawOval(int x, int y, int w, int h)
 
public void   drawPolygon(int[] xPoints, int[] yPoints, int nPoints)
 
public void   drawPolygon(Polygon poly)
 
public void   drawPolyline(int[] xPoints, int[] yPoints, int nPoints)
 
public void   drawRect(int x, int y, int w, int h)
 
public void   drawRoundRect(int x, int y, int w, int h, int arcw, int arch)
 
public void   drawString(String text, int x, int y)
 
public void   drawString(AttributedCharacterIterator iterator, int i, int j)
 
public void   fillArc(int x, int y, int w, int h, int startAngle, int arcAngle)
 
public void   fillOval(int x, int y, int w, int h)
 
public void   fillPolygon(int[] xPoints, int[] yPoints, int nPoints)
 
public void   fillPolygon(Polygon poly)
 
public void   fillRect(int x, int y, int w, int h)
 
public void   fillRoundRect(int x, int y, int w, int h, int arcw, int arch)
 
public Shape   getClip()
 
public Rectangle   getClipBounds()
 
public Color   getColor()
 
public Font   getFont()
 
public FontMetrics   getFontMetrics()
 
public FontMetrics   getFontMetrics(Font font)
 
private void   handlesinglepixel(int x, int y, int pixel)
 
public void   scale(double xscale, double yscale)
 
public void   setClip(int x, int y, int w, int h)
 
public void   setClip(Shape clip)
 
public void   setColor(Color c)
 
public void   setColorConversion(Color source, Color target)
 
public void   setFont(Font font)
 
public void   setPaintMode()
 
public void   setXORMode(Color otherColor)
 
public void   translate(int x, int y)
 
private void   writeCoords(int x, int y)
 
private void   writeEllipsePath(int x, int y, int w, int h, int startAngle, int arcAngle)
 
private void   writePolyLinePath(int[] xPoints, int[] yPoints, int nPoints)
 
public void   writePolygonPath(int[] xPoints, int[] yPoints, int nPoints)
 
private void   writeRectanglePath(int x, int y, int w, int h)
 
private void   writeRoundRectPath(int x, int y, int w, int h, int arcw, int arch)
 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

autoClose

private boolean autoClose

arrow_up


colormap

private Map colormap

arrow_up


ellipseDef

private static String ellipseDef

arrow_up


fColor

private Color fColor

arrow_up


fFont

private Font fFont

arrow_up


fontmap

private Map fontmap

arrow_up


isolatin1encoding

private static String isolatin1encoding

arrow_up


p

private PrintWriter p

arrow_up


reencodeDef

private static String reencodeDef

arrow_up
 Association Detail

_clip

private Rectangle _clip

arrow_up
 Constructor Detail

PsGraphics

public PsGraphics PsGraphics(String filename)

Parameters:
filename -
Returns:
arrow_up


PsGraphics

public PsGraphics PsGraphics(String filename, Rectangle boundingBox)

Parameters:
filename -
boundingBox -
Returns:
arrow_up


PsGraphics

public PsGraphics PsGraphics(OutputStream stream)

Parameters:
stream -
Returns:
arrow_up


PsGraphics

public PsGraphics PsGraphics(OutputStream stream, Rectangle bb)

Parameters:
stream -
bb -
Returns:
arrow_up
 Method Detail

clearRect

public void clearRect(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


clipRect

public void clipRect(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


comment

public void comment(String cmt)

Parameters:
cmt -
arrow_up


copyArea

public void copyArea(int x, int y, int width, int height, int dx, int dy)

Parameters:
x -
y -
width -
height -
dx -
dy -
arrow_up


create

public Graphics create()

Returns:
arrow_up


create

public Graphics create(int x, int y, int width, int height)

Parameters:
x -
y -
width -
height -
Returns:
arrow_up


dispose

public void dispose()

arrow_up


drawArc

public void drawArc(int x, int y, int w, int h, int startAngle, int arcAngle)

Parameters:
x -
y -
w -
h -
startAngle -
arcAngle -
arrow_up


drawImage

public boolean drawImage(Image img, int x, int y, ImageObserver observer)

Parameters:
img -
x -
y -
observer -
Returns:
arrow_up


drawImage

public boolean drawImage(Image img, int x, int y, int w, int h, ImageObserver observer)

Parameters:
img -
x -
y -
w -
h -
observer -
Returns:
arrow_up


drawImage

public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)

Parameters:
img -
x -
y -
bgcolor -
observer -
Returns:
arrow_up


drawImage

public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)

Parameters:
img -
x -
y -
width -
height -
bgcolor -
observer -
Returns:
arrow_up


drawImage

public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)

Parameters:
img -
dx1 -
dy1 -
dx2 -
dy2 -
sx1 -
sy1 -
sx2 -
sy2 -
observer -
Returns:
arrow_up


drawImage

public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)

Parameters:
img -
dx1 -
dy1 -
dx2 -
dy2 -
sx1 -
sy1 -
sx2 -
sy2 -
bgcolor -
observer -
Returns:
arrow_up


drawLine

public void drawLine(int x1, int y1, int x2, int y2)

Parameters:
x1 -
y1 -
x2 -
y2 -
arrow_up


drawOval

public void drawOval(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


drawPolygon

public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)

Parameters:
xPoints -
yPoints -
nPoints -
arrow_up


drawPolygon

public void drawPolygon(Polygon poly)

Parameters:
poly -
arrow_up


drawPolyline

public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)

Parameters:
xPoints -
yPoints -
nPoints -
arrow_up


drawRect

public void drawRect(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


drawRoundRect

public void drawRoundRect(int x, int y, int w, int h, int arcw, int arch)

Parameters:
x -
y -
w -
h -
arcw -
arch -
arrow_up


drawString

public void drawString(String text, int x, int y)

Parameters:
text -
x -
y -
arrow_up


drawString

public void drawString(AttributedCharacterIterator iterator, int i, int j)

Parameters:
iterator -
i -
j -
arrow_up


fillArc

public void fillArc(int x, int y, int w, int h, int startAngle, int arcAngle)

Parameters:
x -
y -
w -
h -
startAngle -
arcAngle -
arrow_up


fillOval

public void fillOval(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


fillPolygon

public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)

Parameters:
xPoints -
yPoints -
nPoints -
arrow_up


fillPolygon

public void fillPolygon(Polygon poly)

Parameters:
poly -
arrow_up


fillRect

public void fillRect(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


fillRoundRect

public void fillRoundRect(int x, int y, int w, int h, int arcw, int arch)

Parameters:
x -
y -
w -
h -
arcw -
arch -
arrow_up


getClip

public Shape getClip()

Returns:
arrow_up


getClipBounds

public Rectangle getClipBounds()

Returns:
arrow_up


getColor

public Color getColor()

Returns:
arrow_up


getFont

public Font getFont()

Returns:
arrow_up


getFontMetrics

public FontMetrics getFontMetrics()

Returns:
arrow_up


getFontMetrics

public FontMetrics getFontMetrics(Font font)

Parameters:
font -
Returns:
arrow_up


handlesinglepixel

private void handlesinglepixel(int x, int y, int pixel)

Parameters:
x -
y -
pixel -
arrow_up


scale

public void scale(double xscale, double yscale)

Parameters:
xscale -
yscale -
arrow_up


setClip

public void setClip(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


setClip

public void setClip(Shape clip)

Parameters:
clip -
arrow_up


setColor

public void setColor(Color c)

Parameters:
c -
arrow_up


setColorConversion

public void setColorConversion(Color source, Color target)

Parameters:
source -
target -
arrow_up


setFont

public void setFont(Font font)

Parameters:
font -
arrow_up


setPaintMode

public void setPaintMode()

arrow_up


setXORMode

public void setXORMode(Color otherColor)

Parameters:
otherColor -
arrow_up


translate

public void translate(int x, int y)

Parameters:
x -
y -
arrow_up


writeCoords

private void writeCoords(int x, int y)

Parameters:
x -
y -
arrow_up


writeEllipsePath

private void writeEllipsePath(int x, int y, int w, int h, int startAngle, int arcAngle)

Parameters:
x -
y -
w -
h -
startAngle -
arcAngle -
arrow_up


writePolyLinePath

private void writePolyLinePath(int[] xPoints, int[] yPoints, int nPoints)

Parameters:
xPoints -
yPoints -
nPoints -
arrow_up


writePolygonPath

public void writePolygonPath(int[] xPoints, int[] yPoints, int nPoints)

Parameters:
xPoints -
yPoints -
nPoints -
arrow_up


writeRectanglePath

private void writeRectanglePath(int x, int y, int w, int h)

Parameters:
x -
y -
w -
h -
arrow_up


writeRoundRectPath

private void writeRoundRectPath(int x, int y, int w, int h, int arcw, int arch)

Parameters:
x -
y -
w -
h -
arcw -
arch -
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.