static public int DrawEllipse(IntPtr l) { try { FairyGUI.Shape self = (FairyGUI.Shape)checkSelf(l); UnityEngine.Color a1; checkType(l, 2, out a1); self.DrawEllipse(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
/// <summary> /// /// </summary> /// <param name="aWidth"></param> /// <param name="aHeight"></param> /// <param name="fillColor"></param> public void DrawEllipse(float aWidth, float aHeight, Color fillColor) { this.SetSize(aWidth, aHeight); _shape.DrawEllipse(fillColor); }