Click or drag to resize

CanvasInvertedOnGraphics Property

Gets or sets a value indicating if entities being drawn on a graphics object will be inverted.

Namespace:  Atalasoft.Imaging.Drawing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public bool InvertedOnGraphics { get; set; }

Property Value

Type: Boolean
A value indicating if entities being drawn on a graphics object will be inverted.
Remarks
Setting this property to true will cause the pixels beneath the entity to be negated with the XOR algorithm. This is useful when drawing rubber-bands that can quickly be erased be drawing over the same location twice. The selection rectangle in the WinForm Viewport control by default draws on an inverted canvas.
See Also