public class RulerSettings extends Object
Modifier and Type | Field and Description |
---|---|
static int |
UNIT_CENTIMETERS
Show rulers/grids in centimeters.
|
static int |
UNIT_INCHES
Show rulers/grids in inches.
|
Constructor and Description |
---|
RulerSettings()
Construct a RulerSettings object with all settings set to defaults.
|
RulerSettings(int units)
Construct a RulerSettings object and initialize the units to the given argument.
|
public static final int UNIT_INCHES
public static final int UNIT_CENTIMETERS
public RulerSettings()
public RulerSettings(int units)
units
- One of RulerSettings.UNIT_INCHES or RulerSettings.UNIT_CENTIMETERS;public void setUnits(int units)
units
- public int getUnits()