Enumeration listing the different hatch patterns available for the AnnHatchBrush brush.
public enum AnnHatchStyle
public enum class AnnHatchStyle sealed
public enum AnnHatchStyle
typedef NS_ENUM (NSInteger, LTAnnHatchStyle) {
LTAnnHatchStyleHorizontal = 0, //A pattern of horizontal lines.
LTAnnHatchStyleVertical = 1, //A pattern of vertical lines.
LTAnnHatchStyleForwardDiagonal = 2, //A pattern of lines on a diagonal from upper left to lower right.
LTAnnHatchStyleBackwardDiagonal = 3, //A pattern of lines on a diagonal from upper right to lower left.
LTAnnHatchStyleCross = 4, //Specifies horizontal and vertical lines that cross.
LTAnnHatchStyleDiagonalCross = 5, //A pattern of crisscross diagonal lines.
};
class AnnHatchStyle(Enum):
Horizontal = 0
Vertical = 1
ForwardDiagonal = 2
BackwardDiagonal = 3
Cross = 4
DiagonalCross = 5
Percent05 = 6
Percent10 = 7
Percent20 = 8
Percent25 = 9
Percent30 = 10
Percent40 = 11
Percent50 = 12
Percent60 = 13
Percent70 = 14
Percent75 = 15
Percent80 = 16
Percent90 = 17
0 |
Horizontal |
A pattern of horizontal lines.
|
1 |
Vertical |
A pattern of vertical lines.
|
2 |
ForwardDiagonal |
A pattern of lines on a diagonal from upper left to lower right.
|
3 |
BackwardDiagonal |
A pattern of lines on a diagonal from upper right to lower left.
|
4 |
Cross |
Specifies horizontal and vertical lines that cross.
|
5 |
DiagonalCross |
A pattern of crisscross diagonal lines.
|
6 |
Percent05 |
Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.
|
7 |
Percent10 |
Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.
|
8 |
Percent20 |
Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.
|
9 |
Percent25 |
Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.
|
10 |
Percent30 |
Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.
|
11 |
Percent40 |
Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.
|
12 |
Percent50 |
Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.
|
13 |
Percent60 |
Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.
|
14 |
Percent70 |
Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.
|
15 |
Percent75 |
Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.
|
16 |
Percent80 |
Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:20.
|
17 |
Percent90 |
Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.
|
The AnnHatchStyle enumeration lists the values used by AnnHatchBrush.HatchStyle.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document