Pens

public static class Pens
List of pens with common colors and pen cache for pens with a specified color/thickness

Properties

AliceBlue

#
public static Pen AliceBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF0F8FF

AntiqueWhite

#
public static Pen AntiqueWhite { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFAEBD7

Aqua

#
public static Pen Aqua { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00FFFF

Aquamarine

#
public static Pen Aquamarine { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF7FFFD4

Azure

#
public static Pen Azure { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF0FFFF

Beige

#
public static Pen Beige { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF5F5DC

Bisque

#
public static Pen Bisque { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFE4C4

Black

#
public static Pen Black { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF000000

BlanchedAlmond

#
public static Pen BlanchedAlmond { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFEBCD

Blue

#
public static Pen Blue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF0000FF

BlueViolet

#
public static Pen BlueViolet { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF8A2BE2

Brown

#
public static Pen Brown { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFA52A2A

BurlyWood

#
public static Pen BurlyWood { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDEB887

CadetBlue

#
public static Pen CadetBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF5F9EA0

Chartreuse

#
public static Pen Chartreuse { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF7FFF00

Chocolate

#
public static Pen Chocolate { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFD2691E

Coral

#
public static Pen Coral { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF7F50

CornflowerBlue

#
public static Pen CornflowerBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF6495ED

Cornsilk

#
public static Pen Cornsilk { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFF8DC

Crimson

#
public static Pen Crimson { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDC143C

Cyan

#
public static Pen Cyan { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00FFFF

DarkBlue

#
public static Pen DarkBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00008B

DarkCyan

#
public static Pen DarkCyan { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF008B8B

DarkGoldenrod

#
public static Pen DarkGoldenrod { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFB8860B

DarkGray

#
public static Pen DarkGray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFA9A9A9

DarkGreen

#
public static Pen DarkGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF006400

DarkKhaki

#
public static Pen DarkKhaki { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFBDB76B

DarkMagenta

#
public static Pen DarkMagenta { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF8B008B

DarkOliveGreen

#
public static Pen DarkOliveGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF556B2F

DarkOrange

#
public static Pen DarkOrange { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF8C00

DarkOrchid

#
public static Pen DarkOrchid { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF9932CC

DarkRed

#
public static Pen DarkRed { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF8B0000

DarkSalmon

#
public static Pen DarkSalmon { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFE9967A

DarkSeaGreen

#
public static Pen DarkSeaGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF8FBC8F

DarkSlateBlue

#
public static Pen DarkSlateBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF483D8B

DarkSlateGray

#
public static Pen DarkSlateGray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF2F4F4F

DarkTurquoise

#
public static Pen DarkTurquoise { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00CED1

DarkViolet

#
public static Pen DarkViolet { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF9400D3

DeepPink

#
public static Pen DeepPink { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF1493

DeepSkyBlue

#
public static Pen DeepSkyBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00BFFF

DimGray

#
public static Pen DimGray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF696969

DodgerBlue

#
public static Pen DodgerBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF1E90FF

Firebrick

#
public static Pen Firebrick { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFB22222

FloralWhite

#
public static Pen FloralWhite { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFAF0

ForestGreen

#
public static Pen ForestGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF228B22

Fuchsia

#
public static Pen Fuchsia { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF00FF

Gainsboro

#
public static Pen Gainsboro { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDCDCDC

GhostWhite

#
public static Pen GhostWhite { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF8F8FF

Gold

#
public static Pen Gold { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFD700

Goldenrod

#
public static Pen Goldenrod { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDAA520

Gray

#
public static Pen Gray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF808080

Green

#
public static Pen Green { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF008000

GreenYellow

#
public static Pen GreenYellow { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFADFF2F

Honeydew

#
public static Pen Honeydew { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF0FFF0

HotPink

#
public static Pen HotPink { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF69B4

IndianRed

#
public static Pen IndianRed { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFCD5C5C

Indigo

#
public static Pen Indigo { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF4B0082

Ivory

#
public static Pen Ivory { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFFF0

Khaki

#
public static Pen Khaki { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF0E68C

Lavender

#
public static Pen Lavender { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFE6E6FA

LavenderBlush

#
public static Pen LavenderBlush { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFF0F5

LawnGreen

#
public static Pen LawnGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF7CFC00

LemonChiffon

#
public static Pen LemonChiffon { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFACD

LightBlue

#
public static Pen LightBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFADD8E6

LightCoral

#
public static Pen LightCoral { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF08080

LightCyan

#
public static Pen LightCyan { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFE0FFFF

LightGoldenrodYellow

#
public static Pen LightGoldenrodYellow { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFAFAD2

LightGreen

#
public static Pen LightGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF90EE90

LightGrey

#
public static Pen LightGrey { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFD3D3D3

LightPink

#
public static Pen LightPink { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFB6C1

LightSalmon

#
public static Pen LightSalmon { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFA07A

LightSeaGreen

#
public static Pen LightSeaGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF20B2AA

LightSkyBlue

#
public static Pen LightSkyBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF87CEFA

LightSlateGray

#
public static Pen LightSlateGray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF778899

LightSteelBlue

#
public static Pen LightSteelBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFB0C4DE

LightYellow

#
public static Pen LightYellow { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFFE0

Lime

#
public static Pen Lime { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00FF00

LimeGreen

#
public static Pen LimeGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF32CD32

Linen

#
public static Pen Linen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFAF0E6

Magenta

#
public static Pen Magenta { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF00FF

Maroon

#
public static Pen Maroon { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF800000

MediumAquamarine

#
public static Pen MediumAquamarine { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF66CDAA

MediumBlue

#
public static Pen MediumBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF0000CD

MediumOrchid

#
public static Pen MediumOrchid { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFBA55D3

MediumPurple

#
public static Pen MediumPurple { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF9370DB

MediumSeaGreen

#
public static Pen MediumSeaGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF3CB371

MediumSlateBlue

#
public static Pen MediumSlateBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF7B68EE

MediumSpringGreen

#
public static Pen MediumSpringGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00FA9A

MediumTurquoise

#
public static Pen MediumTurquoise { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF48D1CC

MediumVioletRed

#
public static Pen MediumVioletRed { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFC71585

MidnightBlue

#
public static Pen MidnightBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF191970

MintCream

#
public static Pen MintCream { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF5FFFA

MistyRose

#
public static Pen MistyRose { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFE4E1

Moccasin

#
public static Pen Moccasin { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFE4B5

OldLace

#
public static Pen OldLace { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFDF5E6

Olive

#
public static Pen Olive { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF808000

OliveDrab

#
public static Pen OliveDrab { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF6B8E23

Orange

#
public static Pen Orange { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFA500

OrangeRed

#
public static Pen OrangeRed { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF4500

Orchid

#
public static Pen Orchid { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDA70D6

PaleGoldenrod

#
public static Pen PaleGoldenrod { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFEEE8AA

PaleGreen

#
public static Pen PaleGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF98FB98

PaleTurquoise

#
public static Pen PaleTurquoise { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFAFEEEE

PaleVioletRed

#
public static Pen PaleVioletRed { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDB7093

PapayaWhip

#
public static Pen PapayaWhip { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFEFD5

PeachPuff

#
public static Pen PeachPuff { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFDAB9

Peru

#
public static Pen Peru { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFCD853F

Pink

#
public static Pen Pink { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFC0CB

Plum

#
public static Pen Plum { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFDDA0DD

PowderBlue

#
public static Pen PowderBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFB0E0E6

Purple

#
public static Pen Purple { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF800080

Red

#
public static Pen Red { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF0000

RosyBrown

#
public static Pen RosyBrown { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFBC8F8F

RoyalBlue

#
public static Pen RoyalBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF4169E1

SaddleBrown

#
public static Pen SaddleBrown { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF8B4513

Salmon

#
public static Pen Salmon { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFA8072

SandyBrown

#
public static Pen SandyBrown { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF4A460

SeaGreen

#
public static Pen SeaGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF2E8B57

Seashell

#
public static Pen Seashell { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFF5EE

Sienna

#
public static Pen Sienna { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFA0522D

Silver

#
public static Pen Silver { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFC0C0C0

SkyBlue

#
public static Pen SkyBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF87CEEB

SlateBlue

#
public static Pen SlateBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF6A5ACD

SlateGray

#
public static Pen SlateGray { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF708090

Snow

#
public static Pen Snow { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFAFA

SpringGreen

#
public static Pen SpringGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF00FF7F

SteelBlue

#
public static Pen SteelBlue { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF4682B4

Tan

#
public static Pen Tan { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFD2B48C

Teal

#
public static Pen Teal { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF008080

Thistle

#
public static Pen Thistle { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFD8BFD8

Tomato

#
public static Pen Tomato { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFF6347

Transparent

#
public static Pen Transparent { get; }
Gets a pen with a thickness of 1 and ARGB color value of #00000000

Turquoise

#
public static Pen Turquoise { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF40E0D0

Violet

#
public static Pen Violet { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFEE82EE

Wheat

#
public static Pen Wheat { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF5DEB3

White

#
public static Pen White { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFFFF

WhiteSmoke

#
public static Pen WhiteSmoke { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFF5F5F5

Yellow

#
public static Pen Yellow { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FFFFFF00

YellowGreen

#
public static Pen YellowGreen { get; }
Gets a pen with a thickness of 1 and ARGB color value of #FF9ACD32

Methods

Cached

#
public static Pen Cached(Color color, float thickness = 1, DashStyle dashStyle = null)
Gets a cached pen with the specified color and thickness
color (Color)Color of the cached pen to get
thickness (float = 1)Thickness of the cached pen to get
dashStyle (DashStyle = null)Dash Style for the pen

ClearCache

#
public static void ClearCache()
Clears the pen cache
Remarks: This is useful if you are using the Cached(Color, float, DashStyle) method to cache pens and want to clear it to conserve memory or resources.