示例#1
0
        public override Path getInnerPath(Rect rect, TextDirection?textDirection)
        {
            Path path = new Path();

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

            path.addRRect(borderRadius.toRRect(rect));
            return(path);
        }