PdfLineCap enum Null safety

Specify the shape that shall be used at the ends of open subpaths and dashes, when they are stroked.


butt → const PdfLineCap

The stroke shall be squared off at the endpoint of the path. There shall be no projection beyond the end of the path.

const PdfLineCap(0)
round → const PdfLineCap

A semicircular arc with a diameter equal to the line width shall be drawn around the endpoint and shall be filled in.

const PdfLineCap(1)
square → const PdfLineCap

The stroke shall continue beyond the endpoint of the path for a distance equal to half the line width and shall besquared off.

const PdfLineCap(2)
values → const List<PdfLineCap>

A constant List of the values in this enum, in order of their declaration.

const List<PdfLineCap>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]