PdfPens class
The collection of default pens.
//Create a new PDF document.
PdfDocument doc = PdfDocument();
//Draw rectangle.
doc.pages
.add()
.graphics
.drawRectangle(pen: PdfPens.black,
bounds: Rect.fromLTWH(0, 0, 200, 100));
//Save the document.
List<int> bytes = doc.save();
//Dispose the document.
doc.dispose();
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- aliceBlue → PdfPen
-
Gets the AliceBlue pen.
no setter
- antiqueWhite → PdfPen
-
Gets the Antique white pen.
no setter
- aqua → PdfPen
-
Gets the Aqua default pen.
no setter
- aquamarine → PdfPen
-
Gets the Aquamarine default pen.
no setter
- azure → PdfPen
-
Gets the Azure default pen.
no setter
- beige → PdfPen
-
Gets the Beige default pen.
no setter
- bisque → PdfPen
-
Gets the Bisque default pen.
no setter
- black → PdfPen
-
Gets the Black default pen.
no setter
- blanchedAlmond → PdfPen
-
Gets the BlanchedAlmond default pen.
no setter
- blue → PdfPen
-
Gets the Blue default pen.
no setter
- blueViolet → PdfPen
-
Gets the BlueViolet default pen.
no setter
- brown → PdfPen
-
Gets the Brown default pen.
no setter
- burlyWood → PdfPen
-
Gets the BurlyWood default pen.
no setter
- cadetBlue → PdfPen
-
Gets the CadetBlue default pen.
no setter
- chartreuse → PdfPen
-
Gets the Chartreuse default pen.
no setter
- chocolate → PdfPen
-
Gets the Chocolate default pen.
no setter
- coral → PdfPen
-
Gets the Coral default pen.
no setter
- cornflowerBlue → PdfPen
-
Gets the CornflowerBlue default pen.
no setter
- cornsilk → PdfPen
-
Gets the Corn silk default pen.
no setter
- crimson → PdfPen
-
Gets the Crimson default pen.
no setter
- cyan → PdfPen
-
Gets the Cyan default pen.
no setter
- darkBlue → PdfPen
-
Gets the DarkBlue default pen.
no setter
- darkCyan → PdfPen
-
Gets the DarkCyan default pen.
no setter
- darkGoldenrod → PdfPen
-
Gets the DarkGoldenrod default pen.
no setter
- darkGray → PdfPen
-
Gets the DarkGray default pen.
no setter
- darkGreen → PdfPen
-
Gets the DarkGreen default pen.
no setter
- darkKhaki → PdfPen
-
Gets the DarkKhaki default pen.
no setter
- darkMagenta → PdfPen
-
Gets the DarkMagenta default pen.
no setter
- darkOliveGreen → PdfPen
-
Gets the DarkOliveGreen default pen.
no setter
- darkOrange → PdfPen
-
Gets the DarkOrange default pen.
no setter
- darkOrchid → PdfPen
-
Gets the DarkOrchid default pen.
no setter
- darkRed → PdfPen
-
Gets the DarkRed default pen.
no setter
- darkSalmon → PdfPen
-
Gets the DarkSalmon default pen.
no setter
- darkSeaGreen → PdfPen
-
Gets the DarkSeaGreen default pen.
no setter
- darkSlateBlue → PdfPen
-
Gets the DarkSlateBlue default pen.
no setter
- darkSlateGray → PdfPen
-
Gets the DarkSlateGray default pen.
no setter
- darkTurquoise → PdfPen
-
Gets the DarkTurquoise default pen.
no setter
- darkViolet → PdfPen
-
Gets the DarkViolet default pen.
no setter
- deepPink → PdfPen
-
Gets the DeepPink default pen.
no setter
- deepSkyBlue → PdfPen
-
Gets the DeepSkyBlue default pen.
no setter
- dimGray → PdfPen
-
Gets the DimGray default pen.
no setter
- dodgerBlue → PdfPen
-
Gets the DodgerBlue default pen.
no setter
- firebrick → PdfPen
-
Gets the Firebrick default pen.
no setter
- floralWhite → PdfPen
-
Gets the FloralWhite default pen.
no setter
- forestGreen → PdfPen
-
Gets the ForestGreen default pen.
no setter
- fuchsia → PdfPen
-
Gets the Fuchsia default pen.
no setter
- gainsboro → PdfPen
-
Gets the Gainsborough default pen.
no setter
- ghostWhite → PdfPen
-
Gets the GhostWhite default pen.
no setter
- gold → PdfPen
-
Gets the Gold default pen.
no setter
- goldenrod → PdfPen
-
Gets the Goldenrod default pen.
no setter
- gray → PdfPen
-
Gets the Gray default pen.
no setter
- green → PdfPen
-
Gets the Green default pen.
no setter
- greenYellow → PdfPen
-
Gets the GreenYellow default pen.
no setter
- honeydew → PdfPen
-
Gets the Honeydew default pen.
no setter
- hotPink → PdfPen
-
Gets the HotPink default pen.
no setter
- indianRed → PdfPen
-
Gets the IndianRed default pen.
no setter
- indigo → PdfPen
-
Gets the Indigo default pen.
no setter
- ivory → PdfPen
-
Gets the Ivory default pen.
no setter
- khaki → PdfPen
-
Gets the Khaki default pen.
no setter
- lavender → PdfPen
-
Gets the Lavender default pen.
no setter
- lavenderBlush → PdfPen
-
Gets the LavenderBlush default pen.
no setter
- lawnGreen → PdfPen
-
Gets the LawnGreen default pen.
no setter
- lemonChiffon → PdfPen
-
Gets the LemonChiffon default pen.
no setter
- lightBlue → PdfPen
-
Gets the LightBlue default pen.
no setter
- lightCoral → PdfPen
-
Gets the LightCoral default pen.
no setter
- lightCyan → PdfPen
-
Gets the LightCyan default pen.
no setter
- lightGoldenrodYellow → PdfPen
-
Gets the LightGoldenrodYellow default pen.
no setter
- lightGray → PdfPen
-
Gets the LightGray default pen.
no setter
- lightGreen → PdfPen
-
Gets the LightGreen default pen.
no setter
- lightPink → PdfPen
-
Gets the LightPink default pen.
no setter
- lightSalmon → PdfPen
-
Gets the LightSalmon default pen.
no setter
- lightSeaGreen → PdfPen
-
Gets the LightSeaGreen default pen.
no setter
- lightSkyBlue → PdfPen
-
Gets the LightSkyBlue default pen.
no setter
- lightSlateGray → PdfPen
-
Gets the LightSlateGray default pen.
no setter
- lightSteelBlue → PdfPen
-
Gets the LightSteelBlue default pen.
no setter
- lightYellow → PdfPen
-
Gets the LightYellow default pen.
no setter
- lime → PdfPen
-
Gets the Lime default pen.
no setter
- limeGreen → PdfPen
-
Gets the LimeGreen default pen.
no setter
- linen → PdfPen
-
Gets the Linen default pen.
no setter
- magenta → PdfPen
-
Gets the Magenta default pen.
no setter
- maroon → PdfPen
-
Gets the Maroon default pen.
no setter
- mediumAquamarine → PdfPen
-
Gets the MediumAquamarine default pen.
no setter
- mediumBlue → PdfPen
-
Gets the MediumBlue default pen.
no setter
- mediumOrchid → PdfPen
-
Gets the MediumOrchid default pen.
no setter
- mediumPurple → PdfPen
-
Gets the MediumPurple default pen.
no setter
- mediumSeaGreen → PdfPen
-
Gets the MediumSeaGreen default pen.
no setter
- mediumSlateBlue → PdfPen
-
Gets the MediumSlateBlue default pen.
no setter
- mediumSpringGreen → PdfPen
-
Gets the MediumSpringGreen default pen.
no setter
- mediumTurquoise → PdfPen
-
Gets the MediumTurquoise default pen.
no setter
- mediumVioletRed → PdfPen
-
Gets the MediumVioletRed default pen.
no setter
- midnightBlue → PdfPen
-
Gets the MidnightBlue default pen.
no setter
- mintCream → PdfPen
-
Gets the MintCream default pen.
no setter
- mistyRose → PdfPen
-
Gets the MistyRose default pen.
no setter
- moccasin → PdfPen
-
Gets the Moccasin default pen.
no setter
-
Gets the NavajoWhite default pen.
no setter
-
Gets the Navy default pen.
no setter
- oldLace → PdfPen
-
Gets the OldLace default pen.
no setter
- olive → PdfPen
-
Gets the Olive default pen.
no setter
- oliveDrab → PdfPen
-
Gets the OliveDrab default pen.
no setter
- orange → PdfPen
-
Gets the Orange default pen.
no setter
- orangeRed → PdfPen
-
Gets the OrangeRed default pen.
no setter
- orchid → PdfPen
-
Gets the Orchid default pen.
no setter
- paleGoldenrod → PdfPen
-
Gets the PaleGoldenrod default pen.
no setter
- paleGreen → PdfPen
-
Gets the PaleGreen default pen.
no setter
- paleTurquoise → PdfPen
-
Gets the PaleTurquoise default pen.
no setter
- paleVioletRed → PdfPen
-
Gets the PaleVioletRed default pen.
no setter
- papayaWhip → PdfPen
-
Gets the PapayaWhip default pen.
no setter
- peachPuff → PdfPen
-
Gets the PeachPuff default pen.
no setter
- peru → PdfPen
-
Gets the Peru default pen.
no setter
- pink → PdfPen
-
Gets the Pink default pen.
no setter
- plum → PdfPen
-
Gets the Plum default pen.
no setter
- powderBlue → PdfPen
-
Gets the PowderBlue default pen.
no setter
- purple → PdfPen
-
Gets the Purple default pen.
no setter
- red → PdfPen
-
Gets the Red default pen.
no setter
- rosyBrown → PdfPen
-
Gets the RosyBrown default pen.
no setter
- royalBlue → PdfPen
-
Gets the RoyalBlue default pen.
no setter
- saddleBrown → PdfPen
-
Gets the SaddleBrown default pen.
no setter
- salmon → PdfPen
-
Gets the Salmon default pen.
no setter
- sandyBrown → PdfPen
-
Gets the SandyBrown default pen.
no setter
- seaGreen → PdfPen
-
Gets the SeaGreen default pen.
no setter
- seaShell → PdfPen
-
Gets the SeaShell default pen.
no setter
- sienna → PdfPen
-
Gets the Sienna default pen.
no setter
- silver → PdfPen
-
Gets the Silver default pen.
no setter
- skyBlue → PdfPen
-
Gets the SkyBlue default pen.
no setter
- slateBlue → PdfPen
-
Gets the SlateBlue default pen.
no setter
- slateGray → PdfPen
-
Gets the SlateGray default pen.
no setter
- snow → PdfPen
-
Gets the Snow default pen.
no setter
- springGreen → PdfPen
-
Gets the SpringGreen default pen.
no setter
- steelBlue → PdfPen
-
Gets the SteelBlue default pen.
no setter
- tan → PdfPen
-
Gets the Tan default pen.
no setter
- teal → PdfPen
-
Gets the Teal default pen.
no setter
- thistle → PdfPen
-
Gets the Thistle default pen.
no setter
- tomato → PdfPen
-
Gets the Tomato default pen.
no setter
- transparent → PdfPen
-
Gets the Transparent default pen.
no setter
- turquoise → PdfPen
-
Gets the Turquoise default pen.
no setter
- violet → PdfPen
-
Gets the Violet default pen.
no setter
- wheat → PdfPen
-
Gets the Wheat default pen.
no setter
- white → PdfPen
-
Gets the White default pen.
no setter
- whiteSmoke → PdfPen
-
Gets the WhiteSmoke default pen.
no setter
- yellow → PdfPen
-
Gets the Yellow default pen.
no setter
- yellowGreen → PdfPen
-
Gets the YellowGreen default pen.
no setter