ShapeOutline.normalized constructor
ShapeOutline.normalized(
- DiagramVectorPath path, {
- bool cornerRadius = false,
A fixed path in unit coordinates, scaled to the frame.
Implementation
factory ShapeOutline.normalized(
DiagramVectorPath path, {
bool cornerRadius = false,
}) {
path.validate();
return ShapeOutline.path(
(size, _) => _scaled(path, size),
cornerRadius: cornerRadius,
);
}