protected override void OnLoad()
        {
            base.OnLoad();

            svgDefinitionContainer.Add(this);

            if (transformRenderResource != null)
            {
                transformRenderResource.MatrixChanged += OnTransformRenderResourceMatrixChanged;
            }

            renderQueue.InvokeAsync(() => HtmlElement.SetSvgTransform(transformRenderResource?.Matrix, converter));
        }
示例#2
0
        protected override void OnLoad()
        {
            base.OnLoad();

            svgDefinitionContainer.Add(this);
        }