UiStyleApplier
- Namespace: Turian.Engine.UI
- Source File: UiStyleApplier.cs
Applies a subset of CSS/USS layout declarations from a .ui inline style onto a Guinevere LayoutNode. Class-based .uss resolution is a separate step; this only handles literal inline declarations.
Public Methods
Apply
public static void Apply(LayoutNode node, IReadOnlyDictionary<string, string> style)
Applies every recognised declaration in style to node.
Parameters:
node(LayoutNode): The layout node being configured (must be in the build pass).style(IReadOnlyDictionary<string, string>): Parsedprop → valuedeclarations.