PdfBrushes class Null safety

Brushes for all the standard colors.

//Create a new PDF document.
PdfDocument doc = PdfDocument();
//Draw rectangle.
doc.pages.add().graphics.drawRectangle(
    brush: PdfBrushes.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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 PdfBrush
Gets the AliceBlue brush. [...]
read-only
antiqueWhite PdfBrush
Gets the Antique white brush. [...]
read-only
aqua PdfBrush
Gets the Aqua default brush. [...]
read-only
aquamarine PdfBrush
Gets the Aquamarine default brush. [...]
read-only
azure PdfBrush
Gets the Azure default brush. [...]
read-only
beige PdfBrush
Gets the Beige default brush. [...]
read-only
bisque PdfBrush
Gets the Bisque default brush. [...]
read-only
black PdfBrush
Gets the Black default brush. [...]
read-only
blanchedAlmond PdfBrush
Gets the BlanchedAlmond default brush. [...]
read-only
blue PdfBrush
Gets the Blue default brush. [...]
read-only
blueViolet PdfBrush
Gets the BlueViolet default brush. [...]
read-only
brown PdfBrush
Gets the Brown default brush. [...]
read-only
burlyWood PdfBrush
Gets the BurlyWood default brush. [...]
read-only
cadetBlue PdfBrush
Gets the CadetBlue default brush. [...]
read-only
chartreuse PdfBrush
Gets the Chartreuse default brush. [...]
read-only
chocolate PdfBrush
Gets the Chocolate default brush. [...]
read-only
coral PdfBrush
Gets the Coral default brush. [...]
read-only
cornflowerBlue PdfBrush
Gets the CornflowerBlue default brush. [...]
read-only
cornsilk PdfBrush
Gets the Corn silk default brush. [...]
read-only
crimson PdfBrush
Gets the Crimson default brush. [...]
read-only
cyan PdfBrush
Gets the Cyan default brush. [...]
read-only
darkBlue PdfBrush
Gets the DarkBlue default brush. [...]
read-only
darkCyan PdfBrush
Gets the DarkCyan default brush. [...]
read-only
darkGoldenrod PdfBrush
Gets the DarkGoldenrod default brush. [...]
read-only
darkGray PdfBrush
Gets the DarkGray default brush. [...]
read-only
darkGreen PdfBrush
Gets the DarkGreen default brush. [...]
read-only
darkKhaki PdfBrush
Gets the DarkKhaki default brush. [...]
read-only
darkMagenta PdfBrush
Gets the DarkMagenta default brush. [...]
read-only
darkOliveGreen PdfBrush
Gets the DarkOliveGreen default brush. [...]
read-only
darkOrange PdfBrush
Gets the DarkOrange default brush. [...]
read-only
darkOrchid PdfBrush
Gets the DarkOrchid default brush. [...]
read-only
darkRed PdfBrush
Gets the DarkRed default brush. [...]
read-only
darkSalmon PdfBrush
Gets the DarkSalmon default brush. [...]
read-only
darkSeaGreen PdfBrush
Gets the DarkSeaGreen default brush. [...]
read-only
darkSlateBlue PdfBrush
Gets the DarkSlateBlue default brush. [...]
read-only
darkSlateGray PdfBrush
Gets the DarkSlateGray default brush. [...]
read-only
darkTurquoise PdfBrush
Gets the DarkTurquoise default brush. [...]
read-only
darkViolet PdfBrush
Gets the DarkViolet default brush. [...]
read-only
deepPink PdfBrush
Gets the DeepPink default brush. [...]
read-only
deepSkyBlue PdfBrush
Gets the DeepSkyBlue default brush. [...]
read-only
dimGray PdfBrush
Gets the DimGray default brush. [...]
read-only
dodgerBlue PdfBrush
Gets the DodgerBlue default brush. [...]
read-only
firebrick PdfBrush
Gets the Firebrick default brush. [...]
read-only
floralWhite PdfBrush
Gets the FloralWhite default brush. [...]
read-only
forestGreen PdfBrush
Gets the ForestGreen default brush. [...]
read-only
fuchsia PdfBrush
Gets the Fuchsia default brush. [...]
read-only
gainsboro PdfBrush
Gets the Gainsborough default brush. [...]
read-only
ghostWhite PdfBrush
Gets the GhostWhite default brush. [...]
read-only
gold PdfBrush
Gets the Gold default brush. [...]
read-only
goldenrod PdfBrush
Gets the Goldenrod default brush. [...]
read-only
gray PdfBrush
Gets the Gray default brush. [...]
read-only
green PdfBrush
Gets the Green default brush. [...]
read-only
greenYellow PdfBrush
Gets the GreenYellow default brush. [...]
read-only
honeydew PdfBrush
Gets the Honeydew default brush. [...]
read-only
hotPink PdfBrush
Gets the HotPink default brush. [...]
read-only
indianRed PdfBrush
Gets the IndianRed default brush. [...]
read-only
indigo PdfBrush
Gets the Indigo default brush. [...]
read-only
ivory PdfBrush
Gets the Ivory default brush. [...]
read-only
khaki PdfBrush
Gets the Khaki default brush. [...]
read-only
lavender PdfBrush
Gets the Lavender default brush. [...]
read-only
lavenderBlush PdfBrush
Gets the LavenderBlush default brush. [...]
read-only
lawnGreen PdfBrush
Gets the LawnGreen default brush. [...]
read-only
lemonChiffon PdfBrush
Gets the LemonChiffon default brush. [...]
read-only
lightBlue PdfBrush
Gets the LightBlue default brush. [...]
read-only
lightCoral PdfBrush
Gets the LightCoral default brush. [...]
read-only
lightCyan PdfBrush
Gets the LightCyan default brush. [...]
read-only
lightGoldenrodYellow PdfBrush
Gets the LightGoldenrodYellow default brush. [...]
read-only
lightGray PdfBrush
Gets the LightGray default brush. [...]
read-only
lightGreen PdfBrush
Gets the LightGreen default brush. [...]
read-only
lightPink PdfBrush
Gets the LightPink default brush. [...]
read-only
lightSalmon PdfBrush
Gets the LightSalmon default brush. [...]
read-only
lightSeaGreen PdfBrush
Gets the LightSeaGreen default brush. [...]
read-only
lightSkyBlue PdfBrush
Gets the LightSkyBlue default brush. [...]
read-only
lightSlateGray PdfBrush
Gets the LightSlateGray default brush. [...]
read-only
lightSteelBlue PdfBrush
Gets the LightSteelBlue default brush. [...]
read-only
lightYellow PdfBrush
Gets the LightYellow default brush. [...]
read-only
lime PdfBrush
Gets the Lime default brush. [...]
read-only
limeGreen PdfBrush
Gets the LimeGreen default brush. [...]
read-only
linen PdfBrush
Gets the Linen default brush. [...]
read-only
magenta PdfBrush
Gets the Magenta default brush. [...]
read-only
maroon PdfBrush
Gets the Maroon default brush. [...]
read-only
mediumAquamarine PdfBrush
Gets the MediumAquamarine default brush. [...]
read-only
mediumBlue PdfBrush
Gets the MediumBlue default brush. [...]
read-only
mediumOrchid PdfBrush
Gets the MediumOrchid default brush. [...]
read-only
mediumPurple PdfBrush
Gets the MediumPurple default brush. [...]
read-only
mediumSeaGreen PdfBrush
Gets the MediumSeaGreen default brush. [...]
read-only
mediumSlateBlue PdfBrush
Gets the MediumSlateBlue default brush. [...]
read-only
mediumSpringGreen PdfBrush
Gets the MediumSpringGreen default brush. [...]
read-only
mediumTurquoise PdfBrush
Gets the MediumTurquoise default brush. [...]
read-only
mediumVioletRed PdfBrush
Gets the MediumVioletRed default brush. [...]
read-only
midnightBlue PdfBrush
Gets the MidnightBlue default brush. [...]
read-only
mintCream PdfBrush
Gets the MintCream default brush. [...]
read-only
mistyRose PdfBrush
Gets the MistyRose default brush. [...]
read-only
moccasin PdfBrush
Gets the Moccasin default brush. [...]
read-only
Gets the NavajoWhite default brush. [...]
read-only
Gets the Navy default brush. [...]
read-only
oldLace PdfBrush
Gets the OldLace default brush. [...]
read-only
olive PdfBrush
Gets the Olive default brush. [...]
read-only
oliveDrab PdfBrush
Gets the OliveDrab default brush. [...]
read-only
orange PdfBrush
Gets the Orange default brush. [...]
read-only
orangeRed PdfBrush
Gets the OrangeRed default brush. [...]
read-only
orchid PdfBrush
Gets the Orchid default brush. [...]
read-only
paleGoldenrod PdfBrush
Gets the PaleGoldenrod default brush. [...]
read-only
paleGreen PdfBrush
Gets the PaleGreen default brush. [...]
read-only
paleTurquoise PdfBrush
Gets the PaleTurquoise default brush. [...]
read-only
paleVioletRed PdfBrush
Gets the PaleVioletRed default brush. [...]
read-only
papayaWhip PdfBrush
Gets the PapayaWhip default brush. [...]
read-only
peachPuff PdfBrush
Gets the PeachPuff default brush. [...]
read-only
peru PdfBrush
Gets the Peru default brush. [...]
read-only
pink PdfBrush
Gets the Pink default brush. [...]
read-only
plum PdfBrush
Gets the Plum default brush. [...]
read-only
powderBlue PdfBrush
Gets the PowderBlue default brush. [...]
read-only
purple PdfBrush
Gets the Purple default brush. [...]
read-only
red PdfBrush
Gets the Red default brush. [...]
read-only
rosyBrown PdfBrush
Gets the RosyBrown default brush. [...]
read-only
royalBlue PdfBrush
Gets the RoyalBlue default brush. [...]
read-only
saddleBrown PdfBrush
Gets the SaddleBrown default brush. [...]
read-only
salmon PdfBrush
Gets the Salmon default brush. [...]
read-only
sandyBrown PdfBrush
Gets the SandyBrown default brush. [...]
read-only
seaGreen PdfBrush
Gets the SeaGreen default brush. [...]
read-only
seaShell PdfBrush
Gets the SeaShell default brush. [...]
read-only
sienna PdfBrush
Gets the Sienna default brush. [...]
read-only
silver PdfBrush
Gets the Silver default brush. [...]
read-only
skyBlue PdfBrush
Gets the SkyBlue default brush. [...]
read-only
slateBlue PdfBrush
Gets the SlateBlue default brush. [...]
read-only
slateGray PdfBrush
Gets the SlateGray default brush. [...]
read-only
snow PdfBrush
Gets the Snow default brush. [...]
read-only
springGreen PdfBrush
Gets the SpringGreen default brush. [...]
read-only
steelBlue PdfBrush
Gets the SteelBlue default brush. [...]
read-only
tan PdfBrush
Gets the Tan default brush. [...]
read-only
teal PdfBrush
Gets the Teal default brush. [...]
read-only
thistle PdfBrush
Gets the Thistle default brush. [...]
read-only
tomato PdfBrush
Gets the Tomato default brush. [...]
read-only
transparent PdfBrush
Gets the Transparent default brush. [...]
read-only
turquoise PdfBrush
Gets the Turquoise default brush. [...]
read-only
violet PdfBrush
Gets the Violet default brush. [...]
read-only
wheat PdfBrush
Gets the Wheat default brush. [...]
read-only
white PdfBrush
Gets the White default brush. [...]
read-only
whiteSmoke PdfBrush
Gets the WhiteSmoke default brush. [...]
read-only
yellow PdfBrush
Gets the Yellow default brush. [...]
read-only
yellowGreen PdfBrush
Gets the YellowGreen default brush. [...]
read-only