com.aspose.imaging.brushes
Class HatchBrush

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

public final class HatchBrush
extends Brush

Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.


Constructor Summary
HatchBrush()
           
 
Method Summary
 Color getBackgroundColor()
           Gets the color of spaces between the hatch lines.
 Color getForegroundColor()
           Gets the color of hatch lines.
 int getHatchStyle()
           Gets the hatch style of this brush.
 void setBackgroundColor(Color value)
           Sets the color of spaces between the hatch lines.
 void setForegroundColor(Color value)
           Sets the color of hatch lines.
 void setHatchStyle(int value)
           Sets the hatch style of this brush.
 
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

HatchBrush

public HatchBrush()
Method Detail

getBackgroundColor

public Color getBackgroundColor()

Gets the color of spaces between the hatch lines.

Value: The color of spaces between the hatch lines.


getForegroundColor

public Color getForegroundColor()

Gets the color of hatch lines.

Value: The color of hatch lines.


getHatchStyle

public int getHatchStyle()

Gets the hatch style of this brush.


setBackgroundColor

public void setBackgroundColor(Color value)

Sets the color of spaces between the hatch lines.

Value: The color of spaces between the hatch lines.


setForegroundColor

public void setForegroundColor(Color value)

Sets the color of hatch lines.

Value: The color of hatch lines.


setHatchStyle

public void setHatchStyle(int value)

Sets the hatch style of this brush.