XNACS1Lib: CSS490 Spring 2011
XNACS1PrimitiveSet supports hiding/unhiding a collection of Primitives (Circle, or Rectangle).

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public class XNACS1PrimitiveSet

Remarks

This class is designed to be used where related primitives can be added/removed from the AutoDrawSet as a group. Typically, you would insert related primitives (e.g., all primitives associated with a car) into a PrimitiveSet. By default all the prmitives in the PrimitiveSet will be drawn in the application window. When required to hide this group of primitives (e.g., car moved out of world bound), you can remove the PrimitiveSet from the AutoDrawSet resutling in hiding all the primitives inthe set. Later on, you can add this PrimitiveSet back into the AutoDrawSet to unhide the primitives (e.g., the car moved back into the world bound). Removing all primitives from this set will result in the primitives being removed from the AutoDrawSet.

Inheritance Hierarchy

System..::..Object
  XNACS1Lib..::..XNACS1PrimitiveSet

See Also