Piccolo.NET

PCanvas.RegionManagement Property

Gets or sets a value indicating whether or not region management should be used when painting.

public virtual bool RegionManagement {get; set;}

Property Value

A value that indicates whether or not region management should be used when painting.

Remarks

When region management is turned on, only the nodes that have been invalidated will be painted to the screen. Typically, this will provide the best performance. In some cases, however, the cost of invalidating lots of rectangles is greater than the cost of painting the entire window. For example, if you have a scene filled with lots of animating rectangles where the bounds of each rectangle are invalidated on every frame, you might get better performance by turning off region management.

See Also

PCanvas Class | UMD.HCIL.Piccolo Namespace


Web Accessibility