| Line | Hits | Source |
|---|---|---|
| 1 | /* | |
| 2 | * Created on Jul 16, 2004 | |
| 3 | * | |
| 4 | * Copyright (c) 2004, the JUNG Project and the Regents of the University | |
| 5 | * of California | |
| 6 | * All rights reserved. | |
| 7 | * | |
| 8 | * This software is open-source under the BSD license; see either | |
| 9 | * "license.txt" or | |
| 10 | * http://jung.sourceforge.net/license.txt for a description. | |
| 11 | */ | |
| 12 | package edu.uci.ics.jung.graph.decorators; | |
| 13 | ||
| 14 | import java.awt.Shape; | |
| 15 | ||
| 16 | import edu.uci.ics.jung.graph.Vertex; | |
| 17 | ||
| 18 | /** | |
| 19 | * | |
| 20 | * @author Joshua O'Madadhain | |
| 21 | */ | |
| 22 | public class EllipseVertexShapeFunction extends AbstractVertexShapeFunction | |
| 23 | { | |
| 24 | public EllipseVertexShapeFunction() | |
| 25 | 0 | { |
| 26 | 0 | } |
| 27 | public EllipseVertexShapeFunction(VertexSizeFunction vsf, VertexAspectRatioFunction varf) | |
| 28 | { | |
| 29 | 0 | super(vsf, varf); |
| 30 | 0 | } |
| 31 | ||
| 32 | public Shape getShape(Vertex v) | |
| 33 | { | |
| 34 | 0 | return factory.getEllipse(v); |
| 35 | } | |
| 36 | } |
|
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |