public abstract class AbstractVertexShapeFunction extends java.lang.Object implements SettableVertexShapeFunction
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_ASPECT_RATIO |
static int |
DEFAULT_SIZE |
protected VertexShapeFactory |
factory |
protected VertexAspectRatioFunction |
varf |
protected VertexSizeFunction |
vsf |
Constructor and Description |
---|
AbstractVertexShapeFunction() |
AbstractVertexShapeFunction(VertexSizeFunction vsf,
VertexAspectRatioFunction varf) |
Modifier and Type | Method and Description |
---|---|
void |
setAspectRatioFunction(VertexAspectRatioFunction varf) |
void |
setSizeFunction(VertexSizeFunction vsf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShape
protected VertexSizeFunction vsf
protected VertexAspectRatioFunction varf
protected VertexShapeFactory factory
public static final int DEFAULT_SIZE
public static final float DEFAULT_ASPECT_RATIO
public AbstractVertexShapeFunction(VertexSizeFunction vsf, VertexAspectRatioFunction varf)
public AbstractVertexShapeFunction()
public void setSizeFunction(VertexSizeFunction vsf)
setSizeFunction
in interface SettableVertexShapeFunction
public void setAspectRatioFunction(VertexAspectRatioFunction varf)
setAspectRatioFunction
in interface SettableVertexShapeFunction