Add ascii diagram comment to LayersGraph
This commit is contained in:
Родитель
064ff99319
Коммит
209d27ab92
|
@ -11,6 +11,18 @@ namespace CommunityToolkit.WinUI.Lottie.LottieData.Optimization
|
|||
/// <summary>
|
||||
/// Represents directed acyclic graph of layer groups.
|
||||
/// Node1 is child of Node2 iff they have time ranges that intersect and Node1 goes after Node2 in z-order.
|
||||
///
|
||||
/// +Z
|
||||
/// |---------------------------------------------------|
|
||||
/// |--Node1--|
|
||||
/// |---Node2---| Time -->
|
||||
/// |----Node3----|
|
||||
/// |---------------------------------------------------|
|
||||
/// -Z
|
||||
///
|
||||
/// In this example Node1 is a child of Node2, but not of Node3.
|
||||
/// Nodes can have multiple parents. Optimizations can be made to graphs that don't overlap in
|
||||
/// time, which is often the case when a single Lottie file contains multiple animations.
|
||||
/// </summary>
|
||||
#if PUBLIC_LottieData
|
||||
public
|
||||
|
|
Загрузка…
Ссылка в новой задаче