com.mindfusion.diagramming
Class HatchBrush

java.lang.Object
  extended by com.mindfusion.diagramming.Brush
      extended by com.mindfusion.diagramming.HatchBrush
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable

public class HatchBrush
extends Brush

Represents a brush that fills the interiors of objects with a hatch pattern.

See Also:
Serialized Form

Constructor Summary
HatchBrush()
          Initializes a new HatchBrush instance.
 
Method Summary
 void applyTo(java.awt.Graphics2D g, java.awt.geom.Rectangle2D bounds)
           
 java.lang.Object clone()
          Clones the brush.
 void readExternal(java.io.ObjectInput in)
          Implements Externalizable.
 void writeExternal(java.io.ObjectOutput out)
          Implements Externalizable.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HatchBrush

public HatchBrush()
Initializes a new HatchBrush instance.

Method Detail

applyTo

public void applyTo(java.awt.Graphics2D g,
                    java.awt.geom.Rectangle2D bounds)
Specified by:
applyTo in class Brush

clone

public java.lang.Object clone()
Clones the brush.

Overrides:
clone in class Brush
Returns:
The new HatchBrush.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Implements Externalizable.

Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Implements Externalizable.

Throws:
java.io.IOException
java.lang.ClassNotFoundException