System.Drawing.Region.GetBounds C# (CSharp) 메소드

GetBounds() 개인적인 메소드

private GetBounds ( ) : RectangleF
리턴 RectangleF
        internal RectangleF GetBounds()
        {
            return regionBounds;
        }

Same methods

Region::GetBounds ( Graphics g ) : RectangleF

Usage Example

예제 #1
0
파일: Style.cs 프로젝트: pchmielowski/Paint
        public override void DrawShapeOnGraphics(GraphicsPath shapeAsGraphicsPath, Graphics g)
        {
            styleToDecorate.DrawShapeOnGraphics(shapeAsGraphicsPath, g);

              Region shapeAsRegion = new Region(shapeAsGraphicsPath);
              RectangleF rr = shapeAsRegion.GetBounds(g);
              CreateGradient(rr);
              g.FillRegion(styleToDecorate.fillBrush_, shapeAsRegion);
        }
All Usage Examples Of System.Drawing.Region::GetBounds