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