Example #1
0
        public virtual int GetRegionWidth()
        {
            int result = MathUtils.Round((widthRatio - xOff)
                                         * texture.GetTextureWidth());

            return(result > 0 ? result : -result);
        }