/** * <summary> * Enables or disables anti-aliasing for drawing oblique lines and circles. * <para> * Anti-aliasing provides a smoother aspect when looked from far enough, * but it can add fuzziness when the display is looked from very close. * At the end of the day, it is your personal choice. * Anti-aliasing is enabled by default on grayscale and color displays, * but you can disable it if you prefer. This setting has no effect * on monochrome displays. * </para> * </summary> * <param name="mode"> * <c>true</c> to enable anti-aliasing, <c>false</c> to * disable it. * </param> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public virtual int setAntialiasingMode(bool mode) { return(_objptr.setAntialiasingMode(mode)); }