Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @body = (new Path)
- .move(@[radius], 0)
- .line(@[width] - @[radius], 0)
- .quadratic(@[width], 0, @[width], @[radius])
- .line(@[width], @[height] - @[radius])
- .quadratic(@[width], @[height], @[width] - @[radius], @[height])
- .line(@[radius], @[height])
- .quadratic(0, @[height], 0, @[height] - @[radius])
- .line(0, @[radius])
- .quadratic(0, 0, @[radius], 0)
- .define(@, 'background', '#000')
- .define(@, 'color', '#fffdeb')
- .define(@, 'stroke', 2)
- .define(@, 'width', 150)
- .define(@, 'height', 150)
- .define(@, 'radius', 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement