예제 #1
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 2 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
            if (!NoFill && !NoStroke)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "polygon");
                __builder.AddAttribute(2, "points",
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       GetPoints()

#line default
#line hidden
                                       );
                __builder.AddAttribute(3, "fill", "rgba(" + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.R

#line default
#line hidden
                                           ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.G

#line default
#line hidden
                                           ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.B

#line default
#line hidden
                                           ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.A

#line default
#line hidden
                                           ) + ")");
                __builder.AddAttribute(4, "stroke", "rgba(" + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.R

#line default
#line hidden
                                           ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.G

#line default
#line hidden
                                           ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.B

#line default
#line hidden
                                           ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.A

#line default
#line hidden
                                           ) + ")");
                __builder.AddAttribute(5, "stroke-dasharray",
#line 6 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       StrokeDashArray

#line default
#line hidden
                                       );
                __builder.AddAttribute(6, "stroke-linejoin",
#line 6 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       Join.ToString().ToLower()

#line default
#line hidden
                                       );
                __builder.AddAttribute(7, "stroke-linecap",
#line 7 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       Cap.ToString().ToLower()

#line default
#line hidden
                                       );
                __builder.AddAttribute(8, "stroke-width",
#line 8 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       StrokeWidth

#line default
#line hidden
                                       );
                __builder.AddAttribute(9, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 9 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                       OnClick

#line default
#line hidden
                                                                                                                                                                       ));
                __builder.AddAttribute(10, "ondblclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 10 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnDoubleClick

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(11, "onmousemove", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 11 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseMove

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(12, "onmousewheel", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.WheelEventArgs>(this,
#line 12 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                             OnMouseWheel

#line default
#line hidden
                                                                                                                                                                             ));
                __builder.AddAttribute(13, "ondrag", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.DragEventArgs>(this,
#line 13 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                      OnDrag

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddAttribute(14, "onmousedown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMousePressed

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(15, "onmouseup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 15 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                          OnMouseReleased

#line default
#line hidden
                                                                                                                                                                          ));
                __builder.AddAttribute(16, "onmouseout", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnMouseOut

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(17, "onmouseover", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 17 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseOver

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(18, "style", "opacity:" + (
#line 18 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Opacity

#line default
#line hidden
                                           ));
                __builder.AddMarkupContent(19, "\r\n\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(20, "\r\n");
#line 21 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
            }
            else if (NoStroke && !NoFill)
            {
#line default
#line hidden
                __builder.AddContent(21, "    ");
                __builder.OpenElement(22, "polygon");
                __builder.AddAttribute(23, "points",
#line 24 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       GetPoints()

#line default
#line hidden
                                       );
                __builder.AddAttribute(24, "fill", "rgba(" + (
#line 24 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.R

#line default
#line hidden
                                           ) + "," + (
#line 24 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.G

#line default
#line hidden
                                           ) + "," + (
#line 24 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.B

#line default
#line hidden
                                           ) + "," + (
#line 24 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Color.A

#line default
#line hidden
                                           ) + ")");
                __builder.AddAttribute(25, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 25 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                        OnClick

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddAttribute(26, "ondblclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 26 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnDoubleClick

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(27, "onmousemove", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 27 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseMove

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(28, "onmousewheel", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.WheelEventArgs>(this,
#line 28 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                             OnMouseWheel

#line default
#line hidden
                                                                                                                                                                             ));
                __builder.AddAttribute(29, "ondrag", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.DragEventArgs>(this,
#line 29 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                      OnDrag

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddAttribute(30, "onmousedown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 30 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMousePressed

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(31, "onmouseup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 31 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                          OnMouseReleased

#line default
#line hidden
                                                                                                                                                                          ));
                __builder.AddAttribute(32, "onmouseout", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 32 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnMouseOut

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(33, "onmouseover", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 33 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseOver

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(34, "style", "opacity:" + (
#line 34 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Opacity

#line default
#line hidden
                                           ));
                __builder.AddMarkupContent(35, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(36, "\r\n");
#line 36 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
            }
            else if (!NoStroke && NoFill)
            {
#line default
#line hidden
                __builder.AddContent(37, "    ");
                __builder.OpenElement(38, "polygon");
                __builder.AddAttribute(39, "points",
#line 39 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       GetPoints()

#line default
#line hidden
                                       );
                __builder.AddAttribute(40, "stroke", "rgba(" + (
#line 40 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.R

#line default
#line hidden
                                           ) + "," + (
#line 40 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.G

#line default
#line hidden
                                           ) + "," + (
#line 40 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.B

#line default
#line hidden
                                           ) + "," + (
#line 40 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           StrokeColor.A

#line default
#line hidden
                                           ) + ")");
                __builder.AddAttribute(41, "stroke-width",
#line 41 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       StrokeWidth

#line default
#line hidden
                                       );
                __builder.AddAttribute(42, "stroke-dasharray",
#line 42 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       StrokeDashArray

#line default
#line hidden
                                       );
                __builder.AddAttribute(43, "stroke-linejoin",
#line 42 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       Join.ToString().ToLower()

#line default
#line hidden
                                       );
                __builder.AddAttribute(44, "stroke-linecap",
#line 43 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       Cap.ToString().ToLower()

#line default
#line hidden
                                       );
                __builder.AddAttribute(45, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 44 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                        OnClick

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddAttribute(46, "ondblclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 45 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnDoubleClick

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(47, "onmousemove", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 46 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseMove

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(48, "onmousewheel", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.WheelEventArgs>(this,
#line 47 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                             OnMouseWheel

#line default
#line hidden
                                                                                                                                                                             ));
                __builder.AddAttribute(49, "ondrag", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.DragEventArgs>(this,
#line 48 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                      OnDrag

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddAttribute(50, "onmousedown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 49 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMousePressed

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(51, "onmouseup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 50 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                          OnMouseReleased

#line default
#line hidden
                                                                                                                                                                          ));
                __builder.AddAttribute(52, "onmouseout", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 51 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnMouseOut

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(53, "onmouseover", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 52 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseOver

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(54, "style", "opacity:" + (
#line 53 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Opacity

#line default
#line hidden
                                           ));
                __builder.AddMarkupContent(55, "\r\n\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(56, "\r\n");
#line 56 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(57, "    ");
                __builder.OpenElement(58, "polygon");
                __builder.AddAttribute(59, "points",
#line 59 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                       GetPoints()

#line default
#line hidden
                                       );
                __builder.AddAttribute(60, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 60 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                        OnClick

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddAttribute(61, "ondblclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 61 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnDoubleClick

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(62, "onmousemove", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 62 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseMove

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(63, "onmousewheel", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.WheelEventArgs>(this,
#line 63 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                             OnMouseWheel

#line default
#line hidden
                                                                                                                                                                             ));
                __builder.AddAttribute(64, "ondrag", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.DragEventArgs>(this,
#line 64 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                      OnDrag

#line default
#line hidden
                                                                                                                                                                      ));
                __builder.AddAttribute(65, "onmousedown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 65 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMousePressed

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(66, "onmouseup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 66 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                          OnMouseReleased

#line default
#line hidden
                                                                                                                                                                          ));
                __builder.AddAttribute(67, "onmouseout", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 67 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                           OnMouseOut

#line default
#line hidden
                                                                                                                                                                           ));
                __builder.AddAttribute(68, "onmouseover", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 68 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                                                                                                                                                            OnMouseOver

#line default
#line hidden
                                                                                                                                                                            ));
                __builder.AddAttribute(69, "style", "opacity:" + (
#line 69 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
                                           Opacity

#line default
#line hidden
                                           ));
                __builder.AddMarkupContent(70, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(71, "\r\n");
#line 71 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Triangle.razor"
            }

#line default
#line hidden
        }
예제 #2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "circle");
            __builder.AddAttribute(1, "cx",
#line 2 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   X

#line default
#line hidden
                                   );
            __builder.AddAttribute(2, "cy",
#line 2 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   Y

#line default
#line hidden
                                   );
            __builder.AddAttribute(3, "r",
#line 3 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   StrokeWidth

#line default
#line hidden
                                   );
            __builder.AddAttribute(4, "fill", "rgba(" + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.R

#line default
#line hidden
                                       ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.G

#line default
#line hidden
                                       ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.B

#line default
#line hidden
                                       ) + "," + (
#line 4 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.A

#line default
#line hidden
                                       ) + ")");
            __builder.AddAttribute(5, "stroke", "rgba(" + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.R

#line default
#line hidden
                                       ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.G

#line default
#line hidden
                                       ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.B

#line default
#line hidden
                                       ) + "," + (
#line 5 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       StrokeColor.A

#line default
#line hidden
                                       ) + ")");
            __builder.AddAttribute(6, "stroke-dasharray",
#line 6 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   StrokeDashArray

#line default
#line hidden
                                   );
            __builder.AddAttribute(7, "stroke-linejoin",
#line 6 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   Join.ToString().ToLower()

#line default
#line hidden
                                   );
            __builder.AddAttribute(8, "stroke-linecap",
#line 7 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   Cap.ToString().ToLower()

#line default
#line hidden
                                   );
            __builder.AddAttribute(9, "stroke-width",
#line 8 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                   StrokeWidth

#line default
#line hidden
                                   );
            __builder.AddAttribute(10, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 9 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                    OnClick

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddAttribute(11, "ondblclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 10 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                       OnDoubleClick

#line default
#line hidden
                                                                                                                                                                       ));
            __builder.AddAttribute(12, "onmousemove", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 11 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                        OnMouseMove

#line default
#line hidden
                                                                                                                                                                        ));
            __builder.AddAttribute(13, "onmousewheel", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.WheelEventArgs>(this,
#line 12 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                         OnMouseWheel

#line default
#line hidden
                                                                                                                                                                         ));
            __builder.AddAttribute(14, "ondrag", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.DragEventArgs>(this,
#line 13 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                  OnDrag

#line default
#line hidden
                                                                                                                                                                  ));
            __builder.AddAttribute(15, "onmousedown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                        OnMousePressed

#line default
#line hidden
                                                                                                                                                                        ));
            __builder.AddAttribute(16, "onmouseup", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 15 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                      OnMouseReleased

#line default
#line hidden
                                                                                                                                                                      ));
            __builder.AddAttribute(17, "onmouseout", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                       OnMouseOut

#line default
#line hidden
                                                                                                                                                                       ));
            __builder.AddAttribute(18, "onmouseover", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 17 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                                                                                                                                                        OnMouseOver

#line default
#line hidden
                                                                                                                                                                        ));
            __builder.AddAttribute(19, "style", "opacity:" + (
#line 18 "C:\Users\shive\Desktop\Test\Blazor.Drawable\Blazor.Drawables\Components\Point.razor"
                                       Opacity

#line default
#line hidden
                                       ));
            __builder.AddMarkupContent(20, "\r\n    ");
            __builder.CloseElement();
        }
예제 #3
0
 public void ToStream(IO.IndentedTextWriter s, string popName)
 {
     s.WriteLine("{0}\t{1}\t{2}\t{3}\t{4}",
                 Existing.ToString("r"), Cap.ToString("r"), Max.ToString("r"), Future.ToString("r"),
                 popName);
 }