WaveEngine.Components.Toolkit.TextComponent.RefreshBoundingBox C# (CSharp) Method

RefreshBoundingBox() private method

Updates the bonding box
private RefreshBoundingBox ( ) : void
return void
        private void RefreshBoundingBox()
        {
            BoundingBox boundingBox;
            boundingBox.Min = new Vector3(this.ActualWidth + this.textOffset.X, this.ActualHeight + this.textOffset.Y, 0);
            boundingBox.Max = boundingBox.Min + new Vector3(this.ActualWidth, this.ActualHeight, 0);

            this.BoundingBoxRefreshed = true;
        }