protected override void PopulateFromXML(XElement element)
        {
            base.PopulateFromXML(element);
            _overlayStartColor = GloColor.FromHexString((string)element.Element("overlay-start") ?? "ffffff");
            _overlayEndColor   = GloColor.FromHexString((string)element.Element("overlay-end") ?? "ffffff");
            foreach (XElement childElem in element.ElementOrEmpty("children").Elements("block"))
            {
                _children.Add(Block.FromXML(timeline, childElem));
            }


            CompatibilityHooks.GroupBlockFromXML(this);
        }
Ejemplo n.º 2
0
 protected override void PopulateFromXML(XElement element)
 {
     base.PopulateFromXML(element);
     _startColor = GloColor.FromHexString((string)element.Element("start-color"));
     _endColor   = GloColor.FromHexString((string)element.Element("end-color"));
 }
Ejemplo n.º 3
0
 protected override void PopulateFromXML(XElement element)
 {
     base.PopulateFromXML(element);
     _color = GloColor.FromHexString((string)element.Element("color"));
 }