GDI+ Pen

Several controls enable the user to select pen characteristics:

  • Width

  • DashStyle

  • MiterLimit

  • StartCap

  • EndCap

  • DashCap

  • LineJoin

  • Alignment

The user can also select among three transforms:

  • ScaleTransform

  • RotateTransform

  • TranslateTransform

Once the Pen and transforms are configured, the user can select the figure to draw:

  • Lines Lines are drawn using the DrawLine method.

  • Intersecting lines Lines are drawn using the DrawLines method.

  • Circles and curves Lines are drawn using the DrawEllipse and DrawArc methods.


    Download

0 comments: