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 and Description |
---|
HatchBrush() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Gets or sets the color of spaces between the hatch lines.
|
Color |
getForegroundColor()
Gets or sets the color of hatch lines.
|
int |
getHatchStyle()
Gets or sets the hatch style of this brush.
|
void |
setBackgroundColor(Color value)
Gets or sets the color of spaces between the hatch lines.
|
void |
setForegroundColor(Color value)
Gets or sets the color of hatch lines.
|
void |
setHatchStyle(int value)
Gets or sets the hatch style of this brush.
|
deepClone, getOpacity, setOpacity
dispose, getDisposed
public final Color getForegroundColor()
Gets or sets the color of hatch lines.
Value: The color of hatch lines.public final void setForegroundColor(Color value)
Gets or sets the color of hatch lines.
Value: The color of hatch lines.public final Color getBackgroundColor()
Gets or sets the color of spaces between the hatch lines.
Value: The color of spaces between the hatch lines.public final void setBackgroundColor(Color value)
Gets or sets the color of spaces between the hatch lines.
Value: The color of spaces between the hatch lines.public final int getHatchStyle()
Gets or sets the hatch style of this brush.
public final void setHatchStyle(int value)
Gets or sets the hatch style of this brush.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.