com.mindfusion.diagramming
Class Brush

java.lang.Object
  extended by com.mindfusion.diagramming.Brush
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
GradientBrush, HatchBrush, SolidBrush, TextureBrush

public abstract class Brush
extends java.lang.Object
implements java.lang.Cloneable, java.io.Externalizable

A Brush specifies how the interior of a diagram element should be filled. The SolidBrush and GradientBrush classes inherit this abstract class. A brush is assigned to an item by calling the DiagramItem.setBrush(com.mindfusion.diagramming.Brush) method.

See Also:
Serialized Form

Constructor Summary
Brush()
           
 
Method Summary
 java.lang.Object clone()
          Creates a copy of a brush.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

Brush

public Brush()
Method Detail

clone

public java.lang.Object clone()
Creates a copy of a brush.

Overrides:
clone in class java.lang.Object
Returns:
A Brush instance.