public void DrawRect(float aWidth, float aHeight, int lineSize, Color lineColor, Color fillColor) { this.SetSize(aWidth, aHeight); this.shape.DrawRect(lineSize, lineColor, fillColor); }
void CreateModalLayer() { _modalLayer = new GGraph(); _modalLayer.DrawRect(this.width, this.height, 0, Color.White, UIConfig.modalLayerColor); _modalLayer.AddRelation(this, RelationType.Size); _modalLayer.name = "ModalLayer"; }