ru.biosoft.graphics
Class PathView

java.lang.Object
  extended byru.biosoft.graphics.View
      extended byru.biosoft.graphics.ShapeView
          extended byru.biosoft.graphics.PathView

public class PathView
extends ShapeView

General path view.

Pendung:
whether brush can be used to fill the path?

Field Summary
 
Fields inherited from class ru.biosoft.graphics.ShapeView
brush, pen
 
Fields inherited from class ru.biosoft.graphics.View
ACTIVE, at, BASELINE, BOTTOM, CENTER, HIDE, LEFT, model, RIGHT, shape, TOP, type
 
Constructor Summary
PathView(Pen pen, java.awt.geom.GeneralPath path)
           
 
Method Summary
 void move(int sx, int sy)
          Moves View to the new location using specified offsets.
 
Methods inherited from class ru.biosoft.graphics.ShapeView
getBrush, getPen, paint, setToScale
 
Methods inherited from class ru.biosoft.graphics.View
getBounds, getModel, getShape, intersects, isActive, isVisible, move, scale, setActive, setLocation, setLocation, setModel, setVisible, updateBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathView

public PathView(Pen pen,
                java.awt.geom.GeneralPath path)
Method Detail

move

public void move(int sx,
                 int sy)
Description copied from class: View
Moves View to the new location using specified offsets.

Specified by:
move in class View
Parameters:
sx - offset along the X axis direction.
sy - offset along the Y axis direction.


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.