PictureBox-DrawHatchRect

Function Name dcl-PictureBox-DrawHatchRect
Syntax   (dcl-PictureBox-DrawHatchRect <CONTROL> (List of Lists as (UpperLeftX [as Long] UpperLeftY [as Long] Width [as Long] Height [as Long] Color [as Color] Pattern [as Integer]) ...))
Return Type Boolean (T if successful; otherwise NIL)
Applies To Picture Box

此方法通过填充由UpperLeftX,UpperLeftY和指定的宽度和高度定义的矩形来绘制图片框上的一个或多个矩形填充图案。 所有点都在客户端坐标中指定(以像素为单位,相对于控件的左上角)。

Pattern Description
1 Vertical lines
2 Top-left to bottom-right diagonal lines
3 Lower-left to top-right diagonal lines
4 Horizontal-vertical grid
5 Diagonal grid