com.miginfocom.util.gfx.geometry.numbers
Interface AtRefRangeNumber

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AtNumber, AtRefNumber
All Known Implementing Classes:
AShapeLinkNumber, AtEnd, AtFixed, AtFollow, AtFraction, AtOffset, AtStart, BoundsLinkNumber, OperFilter, PolyLinkNumber, RefOperFilter, RefRangeOperFilter, ShapeLinkNumber

public interface AtRefRangeNumber
extends java.io.Serializable

A relative value are passed two values, a start and an end value and are supposed to return a value relative to one or both of these values.


Method Summary
 int getIntValue(float start, float end)
          Returns the value as an int.
 float getValue(float start, float end)
          Returns the value.
 

Method Detail

getValue

float getValue(float start,
               float end)
Returns the value.

Parameters:
start - The start value.
end - The end value.
Returns:
The returned value that depends on one or both of the arguments.

getIntValue

int getIntValue(float start,
                float end)
Returns the value as an int.

Parameters:
start - The start value.
end - The end value.
Returns:
The returned value that depends on one or both of the arguments.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.