com.androidplot.ui
Class SizeMetric
java.lang.Object
com.androidplot.ui.SizeMetric
public class SizeMetric
- extends Object
Encapsulates a sizing algorithm and an associated value.
The available algorithms list are stored in the SizeLayoutType
enumeration.
SizeMetric
public SizeMetric(float value,
SizeLayoutType layoutType)
getPixelValue
public float getPixelValue(float size)
set
public void set(float value,
LayoutType layoutType)
getValue
public float getValue()
setValue
public void setValue(float value)
getLayoutType
public LayoutType getLayoutType()
setLayoutType
public void setLayoutType(LayoutType layoutType)
Copyright © 2010-2013 androidplot.com. All Rights Reserved.