private static XDesign_Shape XDesign_Shape(MDesign_Shape mShape) { var result = new XDesign_Shape() { path = XDesign_Path(mShape.Path), color = XDesign_Color(mShape.Color) }; return(result); }
private static XDesign_Shape XDesign_Shape(ShapeNode shapeNode) { var result = new XDesign_Shape() { path = XDesign_Path(shapeNode.Path), color = XDesign_Color(shapeNode.FabricStyle.Color) }; return(result); }
private static XDesign_Shape[] XDesign_Shapes(IList <MDesign_Shape> mShapes) { var result = new XDesign_Shape[mShapes.Count]; for (var idx = 0; idx < mShapes.Count; ++idx) { var mShape = mShapes[idx]; result[idx] = XDesign_Shape(mShape); } return(result); }
private static XDesign_Shape[] XDesign_Shapes(IList <ShapeNode> shapeNodes) { var result = new XDesign_Shape[shapeNodes.Count]; for (var idx = 0; idx < shapeNodes.Count; ++idx) { var shapeNode = shapeNodes[idx]; result[idx] = XDesign_Shape(shapeNode); } return(result); }