Using a Pen to Draw Lines and Shapes
The Graphics class provides a variety of drawing methods including those shown in the following list:
- DrawLine Methods
- DrawRectangle Methods
- DrawEllipse Methods
- DrawArc Methods
- Graphics::DrawPath
- DrawCurve Methods
- DrawBezier Methods
One of the arguments that you pass to such a drawing method is the address of a Pen object.
The following topics cover the use of pens in more detail:
- Using a Pen to Draw Lines and Rectangles
- Setting Pen Width and Alignment
- Drawing a Line with Line Caps
- Joining Lines
- Drawing a Custom Dashed Line
- Drawing a Line Filled with a Texture
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin