public abstract class Brush
extends java.lang.Object
implements java.lang.Cloneable, java.io.Externalizable
SolidBrush
and GradientBrush
classes inherit this
abstract class. A brush is assigned to an item by calling the
DiagramItem.setBrush(com.mindfusion.drawing.Brush)
method.Constructor and Description |
---|
Brush() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a copy of this brush.
|
abstract android.graphics.Paint |
createPaint(android.graphics.RectF bounds)
Creates android.graphics.Paint object corresponding to this brush.
|
public java.lang.Object clone()
clone
in class java.lang.Object
Brush
instance.public abstract android.graphics.Paint createPaint(android.graphics.RectF bounds)
bounds
- The bounds of the area where this brush will be applied.