The DashCap enumeration specifies the type of graphic shape to use on both ends of each dash in a dashed line.
C++ Syntax
typedef enum {
DashCapFlat = 0,
DashCapRound = 2,
DashCapTriangle = 3
} DashCap;
FreeBASIC 语法
enum
DashCapFlat = 0
DashCapRound = 2
DashCapTriangle = 3
end enum
常数
DashCapFlat
Specifies a square cap that squares off both ends of each dash.
DashCapRound
Specifies a circular cap that rounds off both ends of each dash.
DashCapTriangle
Specifies a triangular cap that points both ends of each dash.
备注
If you set the alignment of a Pen to PenAlignmentInset, you cannot use that pen to draw triangular dash caps.