public override Path getInnerPath(Rect rect, TextDirection?textDirection) { Path path = new Path(); path.addRRect(borderRadius.toRRect(rect).deflate(borderSide.width)); return(path); }
public override Path getOuterPath(Rect rect, TextDirection?textDirection) { Path path = new Path(); path.addRRect(borderRadius.toRRect(rect)); return(path); }