PdfBrushes class

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