Class SavableStroke

java.lang.Object
  |
  +--SavableStroke
All Implemented Interfaces:
java.io.Serializable, java.awt.Stroke
Direct Known Subclasses:
Doted, TickedStroke

public class SavableStroke
extends java.lang.Object
implements java.awt.Stroke, java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.awt.BasicStroke linestroke
           
private static long serialVersionUID
           
 
Constructor Summary
SavableStroke()
           
SavableStroke(double thickness)
           
SavableStroke(float thickness, int cap, int join, float miter, float[] dash, float phase)
           
 
Method Summary
 java.awt.Shape createStrokedShape(java.awt.Shape p)
           
private  void readObject(java.io.ObjectInputStream stream)
           
 void setFlip(boolean val)
           
 java.lang.String toString()
           
private  void writeObject(java.io.ObjectOutputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

linestroke

transient java.awt.BasicStroke linestroke
Constructor Detail

SavableStroke

public SavableStroke()

SavableStroke

public SavableStroke(double thickness)

SavableStroke

public SavableStroke(float thickness,
                     int cap,
                     int join,
                     float miter,
                     float[] dash,
                     float phase)
Method Detail

setFlip

public void setFlip(boolean val)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
java.io.IOException

createStrokedShape

public java.awt.Shape createStrokedShape(java.awt.Shape p)
Specified by:
createStrokedShape in interface java.awt.Stroke