SceneGroup Class

A group of elements, with a transform, a clip rectangle and an opacity that apply to all of them.

public sealed class SceneGroup : SceneElement
Inheritance
SceneElement SceneGroup

Constructors

NameDescription
SceneGroup()

SceneGroup()

SceneGroup.cs
public SceneGroup()

No documentation is available.

Properties

NameDescription
ChildrenGets the elements of the group, drawn in order.
ClipGets or sets the rectangle outside of which nothing is drawn, in the coordinates of the parent of the group, or null for none.
TransformGets or sets the transform of the elements, or null for none.

Gets the elements of the group, drawn in order.

public IList<SceneElement> Children { get; }

Property value

IList<SceneElement>

Gets or sets the rectangle outside of which nothing is drawn, in the coordinates of the parent of the group, or null for none.

public ChartRectangle? Clip { get; set; }

Property value

ChartRectangle?

Transform

SceneGroup.cs

Gets or sets the transform of the elements, or null for none.

public SceneTransform? Transform { get; set; }

Property value

SceneTransform?

Methods

NameDescription
Add<T>(T)Adds an element to the group.

Add<T>(T)

SceneGroup.cs

Adds an element to the group.

public T Add<T>(T element) where T : SceneElement

Type parameters

T

Parameters

element T
The element.

Returns

T The element.