com.aspose.imaging.brushes
Class SolidBrush

java.lang.Object
  extended by com.aspose.imaging.DisposableObject
      extended by com.aspose.imaging.Brush
          extended by com.aspose.imaging.brushes.SolidBrush

public final class SolidBrush
extends Brush

Solid brush is intended for drawing continiously with specific color. This class cannot be inherited.


Constructor Summary
SolidBrush()
           Initializes a new instance of the SolidBrush class.
SolidBrush(Color color)
           Initializes a new instance of the SolidBrush class.
 
Method Summary
 Color getColor()
           Gets the brush color.
 void setColor(Color value)
           Sets the brush color.
 
Methods inherited from class com.aspose.imaging.Brush
deepClone, getOpacity, setOpacity
 
Methods inherited from class com.aspose.imaging.DisposableObject
dispose, getDisposed, releaseManagedResources, releaseUnmanagedResources, verifyNotDisposed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolidBrush

public SolidBrush()

Initializes a new instance of the SolidBrush class.


SolidBrush

public SolidBrush(Color color)

Initializes a new instance of the SolidBrush class.

Parameters:
color - The solid brush color.
Method Detail

getColor

public Color getColor()

Gets the brush color.

Value: The brush color.


setColor

public void setColor(Color value)

Sets the brush color.

Value: The brush color.