Exemple #1
0
        public override IView ConvertToView(FigmaNode currentNode, ViewNode parent, ViewRenderService rendererService)
        {
            var currengroupView = new CanvasImage();

            currengroupView.Configure((FigmaRegularPolygon)currentNode);
            return(new ImageView());// currengroupView);
        }
Exemple #2
0
        public override IViewWrapper ConvertTo(FigmaNode currentNode, ProcessedNode parent)
        {
            var currengroupView = new CanvasImage();

            currengroupView.Configure((FigmaRegularPolygon)currentNode);
            return(new ImageViewWrapper(currengroupView));
        }
        public override IViewWrapper ConvertTo(FigmaNode currentNode, ProcessedNode parent)
        {
            var figmaEntity = (FigmaVectorEntity)currentNode;

            var image          = new CanvasImage();
            var figmaImageView = new ImageViewWrapper();

            image.Configure(figmaEntity);
            return(figmaImageView);
        }
        public override IView ConvertTo(FigmaNode currentNode, ProcessedNode parent, FigmaRendererService rendererService)
        {
            var vector = (RectangleVector)currentNode;

            var image          = new CanvasImage();
            var figmaImageView = new ImageView();

            image.Configure(vector);
            return(figmaImageView);
        }
        public override IView ConvertToView(FigmaNode currentNode, ViewNode parent, ViewRenderService rendererService)
        {
            var figmaEntity = (FigmaVector)currentNode;

            var image          = new CanvasImage();
            var figmaImageView = new ImageView();

            image.Configure(figmaEntity);
            return(figmaImageView);
        }
        public override IViewWrapper ConvertTo(FigmaNode currentNode, ProcessedNode parent)
        {
            var vector = ((FigmaRectangleVector)currentNode);

            var image          = new CanvasImage();
            var figmaImageView = new ImageViewWrapper();

            image.Configure(vector);
            return(figmaImageView);
        }
        public override IView ConvertTo(FigmaNode currentNode, ProcessedNode parent, FigmaRendererService rendererService)
        {
            var figmaEntity = (FigmaElipse)currentNode;

            var image      = new CanvasImage();
            var elipseView = new View(image);

            image.Configure(figmaEntity);

            return(elipseView);
        }