导航:  GdiPlus Classes > GdiPlus Classes > CGpBrush Class >

CGpHatchBrush Class

上一页返回章节概述下一页

Similar to a SolidBrush, but it allows you to select from a large variety of preset patterns to paint with, rather than a solid color.

 

When you fill a shape with a hatch brush, you specify a foreground color, a background color, and a hatch style. The foreground color is the color of the hatching.

 

GDI+ provides more than 50 hatch styles. See HatchStyle.