Beispiel #1
0
        public override IView ConvertTo(FigmaNode currentNode, ProcessedNode parent, FigmaRendererService rendererService)
        {
            var figmaLineView = new FNSImageView();
            var figmaLine     = (FigmaLine)currentNode;

            figmaLineView.Configure(figmaLine);
            return(new ImageView(figmaLineView));
        }
Beispiel #2
0
        public override IView ConvertTo(FigmaNode currentNode, ProcessedNode parent, FigmaRendererService rendererService)
        {
            var currengroupView  = new FNSImageView();
            var figmaFrameEntity = (FigmaFrameEntity)currentNode;

            currengroupView.Configure(figmaFrameEntity);
            return(new ImageView(currengroupView));
        }