The AntialiasingMode can be one of:
(0) No antialiasing is performed.
(1) Minimal antialiasing is performed, optimized for speed.
(2) Some antialiasing is performed, optimized for speed with better quality than Fastest.
(3) A good balance of speed and quality.
(4) The best quality antialiasing. This option takes the longest to render.