The PenAlignment enumeration specifies the alignment of a pen relative to the stroke that is being drawn.
C++ Syntax
typedef enum {
PenAlignmentCenter = 0,
PenAlignmentInset = 1
} PenAlignment;
FreeBASIC 语法
enum
PenAlignmentCenter = 0
PenAlignmentInset = 1
end enum
常数
PenAlignmentCenter
Specifies that the pen is aligned on the center of the line that is drawn.
PenAlignmentInset
Specifies, when drawing a polygon, that the pen is aligned on the inside of the edge of the polygon.
备注
If you set the alignment of a Pen object to PenAlignmentInset, you cannot use that pen to draw compound lines or triangular dash caps.