次の方法で共有


2.1.1.13 HatchStyle Enumeration

The HatchStyle enumeration defines hatch patterns used by graphics brushes. A hatch pattern consists of a solid background color and lines drawn over the background.

 typedef  enum 
 {
   HatchStyleHorizontal = 0x00000000,
   HatchStyleVertical = 0x00000001,
   HatchStyleForwardDiagonal = 0x00000002,
   HatchStyleBackwardDiagonal = 0x00000003,
   HatchStyleLargeGrid = 0x00000004,
   HatchStyleDiagonalCross = 0x00000005,
   HatchStyle05Percent = 0x00000006,
   HatchStyle10Percent = 0x00000007,
   HatchStyle20Percent = 0x00000008,
   HatchStyle25Percent = 0x00000009,
   HatchStyle30Percent = 0x0000000A,
   HatchStyle40Percent = 0x0000000B,
   HatchStyle50Percent = 0x0000000C,
   HatchStyle60Percent = 0x0000000D,
   HatchStyle70Percent = 0x0000000E,
   HatchStyle75Percent = 0x0000000F,
   HatchStyle80Percent = 0x00000010,
   HatchStyle90Percent = 0x00000011,
   HatchStyleLightDownwardDiagonal = 0x00000012,
   HatchStyleLightUpwardDiagonal = 0x00000013,
   HatchStyleDarkDownwardDiagonal = 0x00000014,
   HatchStyleDarkUpwardDiagonal = 0x00000015,
   HatchStyleWideDownwardDiagonal = 0x00000016,
   HatchStyleWideUpwardDiagonal = 0x00000017,
   HatchStyleLightVertical = 0x00000018,
   HatchStyleLightHorizontal = 0x00000019,
   HatchStyleNarrowVertical = 0x0000001A,
   HatchStyleNarrowHorizontal = 0x0000001B,
   HatchStyleDarkVertical = 0x0000001C,
   HatchStyleDarkHorizontal = 0x0000001D,
   HatchStyleDashedDownwardDiagonal = 0x0000001E,
   HatchStyleDashedUpwardDiagonal = 0x0000001F,
   HatchStyleDashedHorizontal = 0x00000020,
   HatchStyleDashedVertical = 0x00000021,
   HatchStyleSmallConfetti = 0x00000022,
   HatchStyleLargeConfetti = 0x00000023,
   HatchStyleZigZag = 0x00000024,
   HatchStyleWave = 0x00000025,
   HatchStyleDiagonalBrick = 0x00000026,
   HatchStyleHorizontalBrick = 0x00000027,
   HatchStyleWeave = 0x00000028,
   HatchStylePlaid = 0x00000029,
   HatchStyleDivot = 0x0000002A,
   HatchStyleDottedGrid = 0x0000002B,
   HatchStyleDottedDiamond = 0x0000002C,
   HatchStyleShingle = 0x0000002D,
   HatchStyleTrellis = 0x0000002E,
   HatchStyleSphere = 0x0000002F,
   HatchStyleSmallGrid = 0x00000030,
   HatchStyleSmallCheckerBoard = 0x00000031,
   HatchStyleLargeCheckerBoard = 0x00000032,
   HatchStyleOutlinedDiamond = 0x00000033,
   HatchStyleSolidDiamond = 0x00000034
 } HatchStyle;

HatchStyleHorizontal:  Equally spaced horizontal lines.

HatchStyleVertical:  Equally spaced vertical lines.

HatchStyleForwardDiagonal:  Lines on a diagonal from upper left to lower right.

HatchStyleBackwardDiagonal:  Lines on a diagonal from upper right to lower left.

HatchStyleLargeGrid:  Crossing horizontal and vertical lines.

HatchStyleDiagonalCross:  Crossing forward diagonal and backward diagonal lines with anti-aliasing.

HatchStyle05Percent:  A 5-percent hatch, which is the ratio of foreground color to background color equal to 5:100.

HatchStyle10Percent:  A 10-percent hatch, which is the ratio of foreground color to background color equal to 10:100.

HatchStyle20Percent:  A 20-percent hatch, which is the ratio of foreground color to background color equal to 20:100.

HatchStyle25Percent:  A 25-percent hatch, which is the ratio of foreground color to background color equal to 25:100.

HatchStyle30Percent:  A 30-percent hatch, which is the ratio of foreground color to background color equal to 30:100.

HatchStyle40Percent:  A 40-percent hatch, which is the ratio of foreground color to background color equal to 40:100.

HatchStyle50Percent:  A 50-percent hatch, which is the ratio of foreground color to background color equal to 50:100.

HatchStyle60Percent:  A 60-percent hatch, which is the ratio of foreground color to background color equal to 60:100.

HatchStyle70Percent:  A 70-percent hatch, which is the ratio of foreground color to background color equal to 70:100.

HatchStyle75Percent:  A 75-percent hatch, which is the ratio of foreground color to background color equal to 75:100.

HatchStyle80Percent:  An 80-percent hatch, which is the ratio of foreground color to background color equal to 80:100.

HatchStyle90Percent:  A 90-percent hatch, which is the ratio of foreground color to background color equal to 90:100.

HatchStyleLightDownwardDiagonal:  Diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They are spaced 50 percent further apart than lines in the HatchStyleForwardDiagonal pattern

HatchStyleLightUpwardDiagonal:  Diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They are spaced 50 percent further apart than lines in the HatchStyleBackwardDiagonal pattern.

HatchStyleDarkDownwardDiagonal:  Diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They are spaced 50 percent closer and are twice the width of lines in the HatchStyleForwardDiagonal pattern.

HatchStyleDarkUpwardDiagonal:  Diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They are spaced 50 percent closer and are twice the width of lines in the HatchStyleBackwardDiagonal pattern.

HatchStyleWideDownwardDiagonal:  Diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They have the same spacing between lines in HatchStyleWideDownwardDiagonal pattern and HatchStyleForwardDiagonal pattern, but HatchStyleWideDownwardDiagonal has the triple line width of HatchStyleForwardDiagonal.

HatchStyleWideUpwardDiagonal:  Diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They have the same spacing between lines in HatchStyleWideUpwardDiagonal pattern and HatchStyleBackwardDiagonal pattern, but HatchStyleWideUpwardDiagonal has the triple line width of HatchStyleWideUpwardDiagonal.

HatchStyleLightVertical:  Vertical lines that are spaced 50 percent closer together than lines in the HatchStyleVertical pattern.

HatchStyleLightHorizontal:  Horizontal lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.

HatchStyleNarrowVertical:  Vertical lines that are spaced 75 percent closer than lines in the HatchStyleVertical pattern; or 25 percent closer than lines in the HatchStyleLightVertical pattern.

HatchStyleNarrowHorizontal:  Horizontal lines that are spaced 75 percent closer than lines in the HatchStyleHorizontal pattern; or 25 percent closer than lines in the HatchStyleLightHorizontal pattern.

HatchStyleDarkVertical:  Lines that are spaced 50 percent closer than lines in the HatchStyleVertical pattern.

HatchStyleDarkHorizontal:  Lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.

HatchStyleDashedDownwardDiagonal:  Dashed diagonal lines that slant to the right from top to bottom points.

HatchStyleDashedUpwardDiagonal:  Dashed diagonal lines that slant to the left from top to bottom points.

HatchStyleDashedHorizontal:  Dashed horizontal lines.

HatchStyleDashedVertical:  Dashed vertical lines.

HatchStyleSmallConfetti:  A pattern of lines that has the appearance of confetti.

HatchStyleLargeConfetti:  A pattern of lines that has the appearance of confetti and is composed of larger pieces than the HatchStyleSmallConfetti pattern.

HatchStyleZigZag:  Horizontal lines that are composed of zigzags.

HatchStyleWave:  Horizontal lines that are composed of tildes.

HatchStyleDiagonalBrick:  A pattern of lines that has the appearance of layered bricks that slant to the left from top to bottom points.

HatchStyleHorizontalBrick:  A pattern of lines that has the appearance of horizontally layered bricks.

HatchStyleWeave:  A pattern of lines that has the appearance of a woven material.

HatchStylePlaid:  A pattern of lines that has the appearance of a plaid material.

HatchStyleDivot:  A pattern of lines that has the appearance of divots.

HatchStyleDottedGrid:  Crossing horizontal and vertical lines, each of which is composed of dots.

HatchStyleDottedDiamond:  Crossing forward and backward diagonal lines, each of which is composed of dots.

HatchStyleShingle:  A pattern of lines that has the appearance of diagonally layered shingles that slant to the right from top to bottom points.

HatchStyleTrellis:  A pattern of lines that has the appearance of a trellis.

HatchStyleSphere:  A pattern of lines that has the appearance of spheres laid adjacent to each other.

HatchStyleSmallGrid:  Crossing horizontal and vertical lines that are spaced 50 percent closer together than HatchStyleLargeGrid.

HatchStyleSmallCheckerBoard:  A pattern of lines that has the appearance of a checkerboard.

HatchStyleLargeCheckerBoard:  A pattern of lines that has the appearance of a checkerboard, with squares that are twice the size of the squares in the HatchStyleSmallCheckerBoard pattern.

HatchStyleOutlinedDiamond:  Crossing forward and backward diagonal lines; the lines are not anti-aliased.

HatchStyleSolidDiamond:  A pattern of lines that has the appearance of a checkerboard placed diagonally.

Graphics brushes are specified by EmfPlusBrush objects.

See section 2.1.1 for the specification of additional enumerations.