-
public class SizeMetric extends LayoutMetric<SizeMode>
Encapsulates a sizing algorithm and an associated value. The available algorithms list are stored in the SizeMode enumeration.
-
-
Constructor Summary
Constructors Constructor Description SizeMetric(float value, SizeMode layoutType)
-
Method Summary
Modifier and Type Method Description float
getPixelValue(float size)
void
setLayoutType(SizeMode layoutType)
-
-
Constructor Detail
-
SizeMetric
SizeMetric(float value, SizeMode layoutType)
-
-
Method Detail
-
getPixelValue
float getPixelValue(float size)
-
setLayoutType
void setLayoutType(SizeMode layoutType)
-
-
-
-