fr.emn.lite
Class LiteStroke

java.lang.Object
  extended byfr.emn.lite.LiteAttribute
      extended byfr.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
           
 
Constructor Summary
LiteStroke(float width)
           
LiteStroke(java.awt.Graphics2D g)
           
LiteStroke(java.awt.Stroke s)
          Only BasicStrokes are serialized
 
Method Summary
 void extract(java.awt.Graphics2D g)
           
static LiteStroke get(LiteContext lc)
           
 LiteAttribute install(java.awt.Graphics2D g)
           
 void replaceWith(LiteStroke s)
          Insert the method's description here.
static void set(LiteContext lc, LiteStroke a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public static java.lang.String id
Constructor Detail

LiteStroke

public LiteStroke(float width)

LiteStroke

public LiteStroke(java.awt.Graphics2D g)

LiteStroke

public LiteStroke(java.awt.Stroke s)
Only BasicStrokes are serialized

Method Detail

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)