GenerateImages method test

Generated images were successfully deleted, testing will be full-fledged.
Method="GenerateImages" OutputDir="generated-images" RadiusX="10" RadiusY="20" BackColor="Khaki" BorderColor="Sienna" BorderWidth="3px"
If you see rounded corners, generating was successfull. If RadiusX or RadiusY is not set, exception is thrown.
Method="GenerateImages" OutputDir="generated-images" RadiusX="10" RadiusY="20" BackColor="Khaki"
Same example but without a border.
Method="GenerateImages" OutputDir="generated-images" RadiusX="10" RadiusY="20" BackColor="Khaki" BorderColor="Sienna" BorderWidth="3px" UnderlayColor="white"
Same example as the first one but you should see anti-aliasing because UnderlayColor is set.
Method="GenerateImages" OutputDir="generated-images" RadiusX="10" RadiusY="20" BackColor="Khaki" BorderColor="Sienna" BorderWidth="1px"
One-pixel width border is the most problematic one (because every pixel plays its role). You should see relatively fine results.
Method="GenerateImages" OutputDir="generated-images" RadiusX="10" RadiusY="20" BackColor="Khaki" BorderColor="Sienna" BorderWidth="5px" CornersToRound="top"
CornersToRound property is set. Only top corners should be rounded.

Back to tests homepage