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

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

public interface AtRefNumber
extends AtRefRangeNumber

An interface that denotes a value relative to some other value.


Method Summary
 int getIntValue(float ref)
          Returns a value rounded to an int, possibly depending on the ref.
 float getValue(float ref)
          Returns a value, possibly depending on the ref.
 
Methods inherited from interface com.miginfocom.util.gfx.geometry.numbers.AtRefRangeNumber
getIntValue, getValue
 

Method Detail

getValue

float getValue(float ref)
Returns a value, possibly depending on the ref.

Parameters:
ref - Some reference value. Might be used or disregarded depending on implementation.
Returns:
The value

getIntValue

int getIntValue(float ref)
Returns a value rounded to an int, possibly depending on the ref.

Parameters:
ref - Some reference value. Might be used or disregarded depending on implementation.
Returns:
The value, rounded to an int.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.