Click or drag to resize

OrderedCompositePrimitive Constructor

Initializes a default ordered composite primitive.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public OrderedCompositePrimitive()
Remarks

After constructing a composite, use Add(Primitive) to add primitives in the order they should be rendered; primitives added first are rendered below those added later. Once primitives are added to the composite, use methods such as BringToFront(Primitive) and SendToBack(Primitive) to change the render order.

The primitive's properties are initialized to the following values:

Once the primitive is constructed, it must be added to Primitives before it will be rendered.

See Also