b property
int
get
b
Gets or sets Blue channel value.
//Create a new PDF document.
PdfDocument document = PdfDocument()
..pages.add().graphics.drawRectangle(
//sets the blue channel value.
pen: PdfPen(PdfColor(0, 0, 0)..b = 255),
bounds: Rect.fromLTWH(10, 10, 200, 100));
//Save the document.
List<int> bytes = await document.save();
//Close the document.
document.dispose();
Implementation
int get b => _blue;
set
b
(int value)
Implementation
set b(int value) {
_blue = value;
_assignCMYK(_red, _green, _blue);
_helper.isFilled = true;
}