FairyGUI.GGraph.DrawEllipse C# (CSharp) Method

DrawEllipse() public method

public DrawEllipse ( float aWidth, float aHeight, Color fillColor ) : void
aWidth float
aHeight float
fillColor Color
return void
        public void DrawEllipse(float aWidth, float aHeight, Color fillColor)
        {
            this.SetSize(aWidth, aHeight);
            this.shape.DrawEllipse(fillColor);
        }

Usage Example

示例#1
0
 static int DrawEllipse(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         FairyGUI.GGraph   obj  = (FairyGUI.GGraph)ToLua.CheckObject <FairyGUI.GGraph>(L, 1);
         float             arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         float             arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
         UnityEngine.Color arg2 = ToLua.ToColor(L, 4);
         obj.DrawEllipse(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
All Usage Examples Of FairyGUI.GGraph::DrawEllipse