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
SceneElementSceneGroup
Constructors
| Name | Description |
|---|---|
| SceneGroup() |
SceneGroup()
SceneGroup.cspublic SceneGroup()No documentation is available.
Properties
| Name | Description |
|---|---|
| Children | Gets the elements of the group, drawn in order. |
| Clip | Gets or sets the rectangle outside of which nothing is drawn, in the coordinates of the parent of the group, or null for none. |
| Transform | Gets or sets the transform of the elements, or null for none. |
Children
SceneGroup.csGets the elements of the group, drawn in order.
public IList<SceneElement> Children { get; }Property value
Clip
SceneGroup.csGets 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
Transform
SceneGroup.csGets or sets the transform of the elements, or null for none.
public SceneTransform? Transform { get; set; }Property value
Methods
| Name | Description |
|---|---|
| Add<T>(T) | Adds an element to the group. |
Add<T>(T)
SceneGroup.csAdds an element to the group.
public T Add<T>(T element) where T : SceneElementType parameters
T
Parameters
elementT- The element.
Returns
T The element.