Class Pens
Pens for all the standard colors.
public static class Pens
- Inheritance
-
Pens
Remarks
The Pens class contains static read-only properties that return a Pen object of the color indicated by the property name, with a width of 1.
Properties
- AntiqueWhite
Gets a system-defined Pen object with a width of 1.
- Aquamarine
Gets a system-defined Pen object with a width of 1.
- BlanchedAlmond
Gets a system-defined Pen object with a width of 1.
- BlueViolet
Gets a system-defined Pen object with a width of 1.
- Chartreuse
Gets a system-defined Pen object with a width of 1.
- CornflowerBlue
Gets a system-defined Pen object with a width of 1.
- DarkGoldenrod
Gets a system-defined Pen object with a width of 1.
- DarkMagenta
Gets a system-defined Pen object with a width of 1.
- DarkOliveGreen
Gets a system-defined Pen object with a width of 1.
- DarkOrange
Gets a system-defined Pen object with a width of 1.
- DarkOrchid
Gets a system-defined Pen object with a width of 1.
- DarkSalmon
Gets a system-defined Pen object with a width of 1.
- DarkSeaGreen
Gets a system-defined Pen object with a width of 1.
- DarkSlateBlue
Gets a system-defined Pen object with a width of 1.
- DarkSlateGray
Gets a system-defined Pen object with a width of 1.
- DarkTurquoise
Gets a system-defined Pen object with a width of 1.
- DarkViolet
Gets a system-defined Pen object with a width of 1.
- DeepSkyBlue
Gets a system-defined Pen object with a width of 1.
- DodgerBlue
Gets a system-defined Pen object with a width of 1.
- FloralWhite
Gets a system-defined Pen object with a width of 1.
- ForestGreen
Gets a system-defined Pen object with a width of 1.
- GhostWhite
Gets a system-defined Pen object with a width of 1.
- GreenYellow
Gets a system-defined Pen object with a width of 1.
- LavenderBlush
Gets a system-defined Pen object with a width of 1.
- LemonChiffon
Gets a system-defined Pen object with a width of 1.
- LightCoral
Gets a system-defined Pen object with a width of 1.
- LightGoldenrodYellow
Gets a system-defined Pen object with a width of 1.
- LightGreen
Gets a system-defined Pen object with a width of 1.
- LightSalmon
Gets a system-defined Pen object with a width of 1.
- LightSeaGreen
Gets a system-defined Pen object with a width of 1.
- LightSkyBlue
Gets a system-defined Pen object with a width of 1.
- LightSlateGray
Gets a system-defined Pen object with a width of 1.
- LightSteelBlue
Gets a system-defined Pen object with a width of 1.
- LightYellow
Gets a system-defined Pen object with a width of 1.
- MediumAquamarine
Gets a system-defined Pen object with a width of 1.
- MediumBlue
Gets a system-defined Pen object with a width of 1.
- MediumOrchid
Gets a system-defined Pen object with a width of 1.
- MediumPurple
Gets a system-defined Pen object with a width of 1.
- MediumSeaGreen
Gets a system-defined Pen object with a width of 1.
- MediumSlateBlue
Gets a system-defined Pen object with a width of 1.
- MediumSpringGreen
Gets a system-defined Pen object with a width of 1.
- MediumTurquoise
Gets a system-defined Pen object with a width of 1.
- MediumVioletRed
Gets a system-defined Pen object with a width of 1.
- MidnightBlue
Gets a system-defined Pen object with a width of 1.
- NavajoWhite
Gets a system-defined Pen object with a width of 1.
- PaleGoldenrod
Gets a system-defined Pen object with a width of 1.
- PaleTurquoise
Gets a system-defined Pen object with a width of 1.
- PaleVioletRed
Gets a system-defined Pen object with a width of 1.
- PapayaWhip
Gets a system-defined Pen object with a width of 1.
- PowderBlue
Gets a system-defined Pen object with a width of 1.
- SaddleBrown
Gets a system-defined Pen object with a width of 1.
- SandyBrown
Gets a system-defined Pen object with a width of 1.
- SpringGreen
Gets a system-defined Pen object with a width of 1.
- Transparent
Gets a system-defined Pen object with a width of 1.
- WhiteSmoke
Gets a system-defined Pen object with a width of 1.
- YellowGreen
Gets a system-defined Pen object with a width of 1.
Methods
- GetPen(string)
Gets a pen by its name.
- TryGetPen(string)
Tries to get a pen by its name.