public class SizeMetric extends Object
SizeLayoutType
enumeration.Constructor and Description |
---|
SizeMetric(float value,
SizeLayoutType layoutType) |
Modifier and Type | Method and Description |
---|---|
LayoutType |
getLayoutType() |
float |
getPixelValue(float size) |
float |
getValue() |
void |
set(float value,
LayoutType layoutType) |
void |
setLayoutType(SizeLayoutType layoutType) |
void |
setValue(float value) |
protected void |
validatePair(float value,
SizeLayoutType layoutType)
Verifies that the values passed in are valid for the layout algorithm being used.
|
public SizeMetric(float value, SizeLayoutType layoutType)
protected void validatePair(float value, SizeLayoutType layoutType)
public float getPixelValue(float size)
public void setLayoutType(SizeLayoutType layoutType)
public void set(float value, LayoutType layoutType)
public float getValue()
public void setValue(float value)
public LayoutType getLayoutType()