public override void RefreshElement(SVGRectElement element) { base.RefreshElement(element); var el = Externals.Untype <Bridge.Html5.HTMLElement>(element); el.SetAttributeNS(null, "x", $"{StartX}px"); el.SetAttributeNS(null, "y", $"{StartY}px"); el.SetAttributeNS(null, "width", $"{Width}px"); el.SetAttributeNS(null, "height", $"{Height}px"); }