borders library

Classes

BorderChamfer
BorderDash
BorderOffset
The offset of each vertex, with positive numbers offsetting outward and negative numbers offsetting inward
BorderPerforation
ChamferBorder
A Concave Corner Border
CornerRadius
DashedBorder
A dashed border use for ShapeDecoration
DashedBoxBorder
A dashed border use for BoxDecoration
GradientBorder
GradientBorderSide
GradientShapeBorder
PolygonBorder
Polygon Border. vertices alignment based on Rect.
PolygonRadius
StampBorder
rectangular toothed border, similar to the border of a stamp
StyledBorderSide
TrapeziumBorder
Irregular quadrilateral border, such as trapezoid,prisms. Offset four vertices based on Rect.

Functions

getPoints(Radius radius, Offset corner, double k1, double k2) CornerRadius
caculate the tangent point of the corner and the radius