flatscape.glyph
Class RectangleGlyph

java.lang.Object
  |
  +--manifold.base.Glyph
        |
        +--flatscape.FGlyph
              |
              +--flatscape.glyph.GeometricFigure
                    |
                    +--flatscape.glyph.RectangleGlyph
All Implemented Interfaces:
java.lang.Cloneable, Configurable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class RectangleGlyph
extends GeometricFigure

Glyph to render rectangles.

Copyright (c) 2001 Rutgers, The State University of New Jersey

Since:
flatscape %Version%
Version:
%Version%, %Time%

Field Summary
 
Fields inherited from class flatscape.glyph.GeometricFigure
fillColor_, height_, lineColor_, lineWidth_, width_
 
Fields inherited from class flatscape.FGlyph
curInteractionPoint, DEFAULT, interactionPoints, POINTSIZE, selected_
 
Fields inherited from class manifold.base.Glyph
model_, TRANSFORM, viewer_, visible_
 
Constructor Summary
RectangleGlyph()
           
 
Method Summary
protected  java.awt.Shape getShape()
           
protected  java.awt.Shape getShape(double[] projectionPlane)
           
 
Methods inherited from class flatscape.glyph.GeometricFigure
draw, getBoundingShape, getLimits, propertyChange, updateProperties
 
Methods inherited from class flatscape.FGlyph
addInteractionPoint, children, config, constructGlyph, drawSelectionBox, getAllowsChildren, getChildAt, getChildCount, getIndex, getInteractionPoint, getParent, getTransform, getTransform, insert, isLeaf, moveInteractionPoint, pick, pickInteractionPoint, remove, remove, removeFromParent, setInteractionPoint, setModel, setParent, setSelected, setUserObject, toString, traverse, updateInteractionPoints, validTypes
 
Methods inherited from class manifold.base.Glyph
getModel, getViewer, isVisible, setViewer, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectangleGlyph

public RectangleGlyph()
Method Detail

getShape

protected java.awt.Shape getShape()
Specified by:
getShape in class GeometricFigure
Returns:
an Rectangle2D shape.

getShape

protected java.awt.Shape getShape(double[] projectionPlane)
Overrides:
getShape in class GeometricFigure


Copyright (c) 2003 Rutgers, The State University of New Jersey