Utilizzo di un oggetto Pen per creare linee e formeUsing a Pen to Draw Lines and Shapes
Usare GDI+ Pen
oggetti da creare segmenti di linee, curve e le strutture delle forme.Use GDI+ Pen
objects to draw line segments, curves, and the outlines of shapes. In questa sezione riga fa riferimento a uno di questi, a meno che non specificato per indicare solo un segmento di linea.In this section, line refers to any of these, unless specified to mean only a line segment. Impostare le proprietà di un oggetto pen per controllare il colore, larghezza, allineamento e stile delle linee disegnate con la penna.Set the properties of a pen to control the color, width, alignment, and style of lines drawn with that pen.
In questa sezioneIn This Section
Procedura: Usare un oggetto Pen per disegnare lineeHow to: Use a Pen to Draw Lines
Illustra come disegnare linee.Explains how to draw lines.
Procedura: Usare un oggetto Pen per disegnare rettangoliHow to: Use a Pen to Draw Rectangles
Viene descritto come disegnare rettangoli.Describes how to draw rectangles.
Procedura: Larghezza della penna set e l'allineamentoHow to: Set Pen Width and Alignment
Viene illustrato come modificare la larghezza e l'allineamento di un Pen
oggetto.Explains how to change the width and alignment of a Pen
object.
Procedura: Disegnare una linea con estremitàHow to: Draw a Line with Line Caps
Viene descritto come aggiungere delimitatori finali quando si disegna una linea.Describes how to add end caps when drawing a line.
Procedura: Linee di joinHow to: Join Lines
Descrive come aggiungere due righe.Shows how to join two lines.
Procedura: Disegnare una linea tratteggiata personalizzataHow to: Draw a Custom Dashed Line
Viene descritto come disegnare una linea tratteggiata.Describes how to draw a dashed line.
Procedura: Disegnare una linea con riempita a tramaHow to: Draw a Line Filled with a Texture
Illustra come disegnare una linea di piena a trama.Explains how to draw a texture-filled line.
RiferimentiReference
Pen
Descrive la classe e fornisce i collegamenti a tutti i relativi membri.Describes this class and has links to all its members.