Synergy Home Page

au.edu.swin.synergy.lib.io
Class BStrokeIO

java.lang.Object
  |
  +--au.edu.swin.synergy.lib.io.BStrokeIO

public class BStrokeIO
extends Object


Field Summary
protected static String kDefaultStrokeCap
           
protected static String kDefaultStrokeJoin
           
protected static String kDefaultStrokeLimit
           
protected static String kDefaultStrokePhase
           
protected static String kDefaultStrokeWidth
           
protected static String kKeyStrokeCap
           
protected static String kKeyStrokeDash
           
protected static String kKeyStrokeJoin
           
protected static String kKeyStrokeLimit
           
protected static String kKeyStrokePhase
           
protected static String kKeyStrokeWidth
           
 
Constructor Summary
BStrokeIO()
           
 
Method Summary
 BasicStroke getStroke(BasicStroke stroke)
           
static BasicStroke load(BDataFile file)
           
static BStrokeIO loadDefault(BDataFile file)
           
static boolean save(BDataFile file, BasicStroke stroke)
           
static boolean save(BDataFile file, BasicStroke stroke, BasicStroke defaults)
          Save a stroke, but only what is different to the defaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kKeyStrokeWidth

protected static final String kKeyStrokeWidth

kDefaultStrokeWidth

protected static final String kDefaultStrokeWidth

kKeyStrokeCap

protected static final String kKeyStrokeCap

kDefaultStrokeCap

protected static final String kDefaultStrokeCap

kKeyStrokeJoin

protected static final String kKeyStrokeJoin

kDefaultStrokeJoin

protected static final String kDefaultStrokeJoin

kKeyStrokeLimit

protected static final String kKeyStrokeLimit

kDefaultStrokeLimit

protected static final String kDefaultStrokeLimit

kKeyStrokePhase

protected static final String kKeyStrokePhase

kDefaultStrokePhase

protected static final String kDefaultStrokePhase

kKeyStrokeDash

protected static final String kKeyStrokeDash
Constructor Detail

BStrokeIO

public BStrokeIO()
Method Detail

save

public static boolean save(BDataFile file,
                           BasicStroke stroke)

save

public static boolean save(BDataFile file,
                           BasicStroke stroke,
                           BasicStroke defaults)
Save a stroke, but only what is different to the defaults

load

public static BasicStroke load(BDataFile file)

loadDefault

public static BStrokeIO loadDefault(BDataFile file)

getStroke

public BasicStroke getStroke(BasicStroke stroke)

Synergy Home Page