Table of Contents

Class Pens

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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

AliceBlue

Gets a system-defined Pen object with a width of 1.

AntiqueWhite

Gets a system-defined Pen object with a width of 1.

Aqua

Gets a system-defined Pen object with a width of 1.

Aquamarine

Gets a system-defined Pen object with a width of 1.

Azure

Gets a system-defined Pen object with a width of 1.

Beige

Gets a system-defined Pen object with a width of 1.

Bisque

Gets a system-defined Pen object with a width of 1.

Black

Gets a system-defined Pen object with a width of 1.

BlanchedAlmond

Gets a system-defined Pen object with a width of 1.

Blue

Gets a system-defined Pen object with a width of 1.

BlueViolet

Gets a system-defined Pen object with a width of 1.

Brown

Gets a system-defined Pen object with a width of 1.

BurlyWood

Gets a system-defined Pen object with a width of 1.

CadetBlue

Gets a system-defined Pen object with a width of 1.

Chartreuse

Gets a system-defined Pen object with a width of 1.

Chocolate

Gets a system-defined Pen object with a width of 1.

Coral

Gets a system-defined Pen object with a width of 1.

CornflowerBlue

Gets a system-defined Pen object with a width of 1.

Cornsilk

Gets a system-defined Pen object with a width of 1.

Crimson

Gets a system-defined Pen object with a width of 1.

Cyan

Gets a system-defined Pen object with a width of 1.

DarkBlue

Gets a system-defined Pen object with a width of 1.

DarkCyan

Gets a system-defined Pen object with a width of 1.

DarkGoldenrod

Gets a system-defined Pen object with a width of 1.

DarkGray

Gets a system-defined Pen object with a width of 1.

DarkGreen

Gets a system-defined Pen object with a width of 1.

DarkKhaki

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.

DarkRed

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.

DeepPink

Gets a system-defined Pen object with a width of 1.

DeepSkyBlue

Gets a system-defined Pen object with a width of 1.

DimGray

Gets a system-defined Pen object with a width of 1.

DodgerBlue

Gets a system-defined Pen object with a width of 1.

Firebrick

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.

Fuchsia

Gets a system-defined Pen object with a width of 1.

Gainsboro

Gets a system-defined Pen object with a width of 1.

GhostWhite

Gets a system-defined Pen object with a width of 1.

Gold

Gets a system-defined Pen object with a width of 1.

Goldenrod

Gets a system-defined Pen object with a width of 1.

Gray

Gets a system-defined Pen object with a width of 1.

Green

Gets a system-defined Pen object with a width of 1.

GreenYellow

Gets a system-defined Pen object with a width of 1.

Honeydew

Gets a system-defined Pen object with a width of 1.

HotPink

Gets a system-defined Pen object with a width of 1.

IndianRed

Gets a system-defined Pen object with a width of 1.

Indigo

Gets a system-defined Pen object with a width of 1.

Ivory

Gets a system-defined Pen object with a width of 1.

Khaki

Gets a system-defined Pen object with a width of 1.

Lavender

Gets a system-defined Pen object with a width of 1.

LavenderBlush

Gets a system-defined Pen object with a width of 1.

LawnGreen

Gets a system-defined Pen object with a width of 1.

LemonChiffon

Gets a system-defined Pen object with a width of 1.

LightBlue

Gets a system-defined Pen object with a width of 1.

LightCoral

Gets a system-defined Pen object with a width of 1.

LightCyan

Gets a system-defined Pen object with a width of 1.

LightGoldenrodYellow

Gets a system-defined Pen object with a width of 1.

LightGray

Gets a system-defined Pen object with a width of 1.

LightGreen

Gets a system-defined Pen object with a width of 1.

LightPink

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.

Lime

Gets a system-defined Pen object with a width of 1.

LimeGreen

Gets a system-defined Pen object with a width of 1.

Linen

Gets a system-defined Pen object with a width of 1.

Magenta

Gets a system-defined Pen object with a width of 1.

Maroon

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.

MintCream

Gets a system-defined Pen object with a width of 1.

MistyRose

Gets a system-defined Pen object with a width of 1.

Moccasin

Gets a system-defined Pen object with a width of 1.

NavajoWhite

Gets a system-defined Pen object with a width of 1.

Navy

Gets a system-defined Pen object with a width of 1.

OldLace

Gets a system-defined Pen object with a width of 1.

Olive

Gets a system-defined Pen object with a width of 1.

OliveDrab

Gets a system-defined Pen object with a width of 1.

Orange

Gets a system-defined Pen object with a width of 1.

OrangeRed

Gets a system-defined Pen object with a width of 1.

Orchid

Gets a system-defined Pen object with a width of 1.

PaleGoldenrod

Gets a system-defined Pen object with a width of 1.

PaleGreen

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.

PeachPuff

Gets a system-defined Pen object with a width of 1.

Peru

Gets a system-defined Pen object with a width of 1.

Pink

Gets a system-defined Pen object with a width of 1.

Plum

Gets a system-defined Pen object with a width of 1.

PowderBlue

Gets a system-defined Pen object with a width of 1.

Purple

Gets a system-defined Pen object with a width of 1.

Red

Gets a system-defined Pen object with a width of 1.

RosyBrown

Gets a system-defined Pen object with a width of 1.

RoyalBlue

Gets a system-defined Pen object with a width of 1.

SaddleBrown

Gets a system-defined Pen object with a width of 1.

Salmon

Gets a system-defined Pen object with a width of 1.

SandyBrown

Gets a system-defined Pen object with a width of 1.

SeaGreen

Gets a system-defined Pen object with a width of 1.

SeaShell

Gets a system-defined Pen object with a width of 1.

Sienna

Gets a system-defined Pen object with a width of 1.

Silver

Gets a system-defined Pen object with a width of 1.

SkyBlue

Gets a system-defined Pen object with a width of 1.

SlateBlue

Gets a system-defined Pen object with a width of 1.

SlateGray

Gets a system-defined Pen object with a width of 1.

Snow

Gets a system-defined Pen object with a width of 1.

SpringGreen

Gets a system-defined Pen object with a width of 1.

SteelBlue

Gets a system-defined Pen object with a width of 1.

Tan

Gets a system-defined Pen object with a width of 1.

Teal

Gets a system-defined Pen object with a width of 1.

Thistle

Gets a system-defined Pen object with a width of 1.

Tomato

Gets a system-defined Pen object with a width of 1.

Transparent

Gets a system-defined Pen object with a width of 1.

Turquoise

Gets a system-defined Pen object with a width of 1.

Violet

Gets a system-defined Pen object with a width of 1.

Wheat

Gets a system-defined Pen object with a width of 1.

White

Gets a system-defined Pen object with a width of 1.

WhiteSmoke

Gets a system-defined Pen object with a width of 1.

Yellow

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.