CSharpGL.GlyphInfo.ToRectangle C# (CSharp) Méthode

ToRectangle() public méthode

public ToRectangle ( int shrinkX, int shrinkY, int shrinkWidth, int shrinkHeight ) : Rectangle
shrinkX int
shrinkY int
shrinkWidth int
shrinkHeight int
Résultat System.Drawing.Rectangle
        public Rectangle ToRectangle(int shrinkX = 0, int shrinkY = 0, int shrinkWidth = 0, int shrinkHeight = 0)
        {
            return new Rectangle(this.xoffset + shrinkX, this.yoffset + shrinkY,
                this.width + shrinkWidth, this.height + shrinkHeight);
        }