fr.emn.lite
Class LiteStroke
java.lang.Object
fr.emn.lite.LiteAttribute
fr.emn.lite.LiteStroke
- All Implemented Interfaces:
- java.io.Serializable
- public class LiteStroke
- extends LiteAttribute
This class is serializable if created with a BasicStroke
(only BasicStroke's width is serialized in this version).
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
id
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public static java.lang.String id
LiteStroke
public LiteStroke(float width)
LiteStroke
public LiteStroke(java.awt.Graphics2D g)
LiteStroke
public LiteStroke(java.awt.Stroke s)
- Only BasicStrokes are serialized
extract
public void extract(java.awt.Graphics2D g)
- Specified by:
extract in class LiteAttribute
get
public static LiteStroke get(LiteContext lc)
install
public LiteAttribute install(java.awt.Graphics2D g)
- Specified by:
install in class LiteAttribute
replaceWith
public void replaceWith(LiteStroke s)
- Insert the method's description here.
Creation date: (26/09/00 18:50:52)
- Parameters:
s - fr.emn.lite.LiteStroke
set
public static void set(LiteContext lc,
LiteStroke a)