public class HatchPaintLibrary extends Object
Converts GDI+ hatch brushes into images suitable for writing to XPS and PDF.
| Modifier and Type | Field and Description |
|---|---|
static int |
HatchSize |
| Modifier and Type | Method and Description |
|---|---|
static TexturePaint |
getHatchTexturePaint(HatchStyle style,
Color foreColor,
Color backColor)
Returns TexturePaint created that encapsulates hatch pattern in accordance to hatch style.
|
public static final int HatchSize
public static TexturePaint getHatchTexturePaint(HatchStyle style, Color foreColor, Color backColor) throws Exception
Returns TexturePaint created that encapsulates hatch pattern in accordance to hatch style.
style - The hatch style.foreColor - Foreground color.backColor - Background color.ExceptionCopyright © 2025 Aspose. All Rights Reserved.