Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Enumerations / Pen

Pen enumeration

Specifies the pen style to use then drawing lines.

If you use the ATL COM version of the library, you can supply the string value (the name of the value) or the number value (as listed in the table below) as the enumeration value. If you use the Class Library, the enumeration is available as an enum object with the name MarblecoreImagingPen which contains all the available values.

Values

NameValueDescription
Default0Default line style
Solid1Solid line
Dash2Line consisting of dashes
Dot3Line consisting of dots
DashDot4Line consisting of a repeating pattern of dash-dot
DashDotDot5Line consisting of a repeating pattern of dash-dot-dot

See also

DrawArc | DrawArrow | DrawBezier | DrawCurve | DrawCurveBorder | DrawEllipse | DrawEllipseBorder | DrawLine | DrawPie | DrawPieBorder | DrawPolygon | DrawPolygonBorder | DrawRectangle | DrawRectangleBorder | DrawRhombus | DrawRhombusBorder | DrawRoundRectangle | DrawRoundRectangleBorder | DrawTextInGradientWithBorder | DrawTextInGradientWithBorderAndShadow | DrawTextInGradientWithBorderAndShadowUsingWarp | DrawTextInGradientWithBorderUsingWarp | DrawTextWithBorder | DrawTextWithBorderUsingWarp | DrawTriangle | DrawTriangleBorder | EffectBorder | PenStyle | SetPen