Graphics Graphics Graphics Graphics Class

定义

封装一个 GDI+ 绘图图面。Encapsulates a GDI+ drawing surface. 此类不能被继承。This class cannot be inherited.

public ref class Graphics sealed : MarshalByRefObject, IDisposable, System::Drawing::IDeviceContext
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class Graphics : MarshalByRefObject, IDisposable, System.Drawing.IDeviceContext
type Graphics = class
    inherit MarshalByRefObject
    interface IDisposable
    interface IDeviceContext
Public NotInheritable Class Graphics
Inherits MarshalByRefObject
Implements IDeviceContext, IDisposable
继承
属性
实现

示例

下面的代码示例设计为使用 Windows 窗体,并需要PaintEventArgs对象。The following code example is designed for use with Windows Forms and requires a PaintEventArgs object. PaintEventArgs对象被命名为e和参数的Paint事件处理程序。The PaintEventArgs object is named e and is a parameter of the Paint event handler. 该代码执行下列操作:The code performs the following actions:

  • 从 JPEG 文件创建映像。Creates an image from a JPEG file. 该文件命名为 sampimag.jpg 位于同和位于该示例的文件夹中。The file is named SampImag.jpg and is located in the folder of the example.

  • 创建在其中绘制图像的左上角的点。Creates a point at which to draw the upper-left corner of the image.

  • 通过将不成比例的图像绘制到屏幕Graphics对象。Draws the unscaled image to the screen by using a Graphics object.

private:
   void DrawImagePointF( PaintEventArgs^ e )
   {
      // Create image.
      Image^ newImage = Image::FromFile( "SampImag.jpg" );

      // Create point for upper-left corner of image.
      PointF ulCorner = PointF(100.0F,100.0F);

      // Draw image to screen.
      e->Graphics->DrawImage( newImage, ulCorner );
   }
private void DrawImagePointF(PaintEventArgs e)
{
             
    // Create image.
    Image newImage = Image.FromFile("SampImag.jpg");
             
    // Create point for upper-left corner of image.
    PointF ulCorner = new PointF(100.0F, 100.0F);
             
    // Draw image to screen.
    e.Graphics.DrawImage(newImage, ulCorner);
}
Private Sub DrawImagePointF(ByVal e As PaintEventArgs)

    ' Create image.
    Dim newImage As Image = Image.FromFile("SampImag.jpg")

    ' Create point for upper-left corner of image.
    Dim ulCorner As New PointF(100.0F, 100.0F)

    ' Draw image to screen.
    e.Graphics.DrawImage(newImage, ulCorner)
End Sub

注解

Graphics类提供了对象绘制到显示设备的方法。The Graphics class provides methods for drawing objects to the display device. 一个Graphics与特定设备上下文相关联。A Graphics is associated with a specific device context.

你可以获取Graphics对象通过调用Control.CreateGraphics继承的对象上的方法System.Windows.Forms.Control,或通过处理控件的Control.Paint事件和访问Graphics属性System.Windows.Forms.PaintEventArgs类。You can obtain a Graphics object by calling the Control.CreateGraphics method on an object that inherits from System.Windows.Forms.Control, or by handling a control's Control.Paint event and accessing the Graphics property of the System.Windows.Forms.PaintEventArgs class. 此外可以创建Graphics对象使用的映像从FromImage方法。You can also create a Graphics object from an image by using the FromImage method. 有关创建的详细信息Graphics对象,请参阅如何:创建用于绘制图形对象For more information about creating a Graphics object, see How to: Create Graphics Objects for Drawing.

可以通过绘制多个不同的形状和线条Graphics对象。You can draw many different shapes and lines by using a Graphics object. 有关如何绘制线条和形状的详细信息,请参阅特定于Draw GraphicalElement方法的行或你想要绘制的形状。For more information about how to draw lines and shapes, see the specific DrawGraphicalElement method for the line or shape you want to draw. 这些方法包括DrawLineDrawArcDrawClosedCurveDrawPolygon,和DrawRectangleThese methods include DrawLine, DrawArc, DrawClosedCurve, DrawPolygon, and DrawRectangle. 有关如何绘制线条和形状的详细信息,请参阅用笔和绘制线条和形状使用画笔填充形状到For more information about how to draw lines and shapes, see Using a Pen to Draw Lines and Shapes and Using a Brush to Fill Shapes.

您还可以通过绘制图像和图标DrawImageDrawIcon方法,分别。You can also draw images and icons by using the DrawImage and DrawIcon methods, respectively. 执行颜色数据位块传输从屏幕到绘图图面的Graphics对象,请参阅CopyFromScreenTo perform a bit-block transfer of color data from the screen to the drawing surface of the Graphics object, see CopyFromScreen. 有关如何绘制图像的详细信息Graphics对象,请参阅使用图像、 位图、 图标和图元文件For more information about how to draw images with a Graphics object, see Working with Images, Bitmaps, Icons, and Metafiles.

此外,你能够使用的坐标系统Graphics对象。In addition, you can manipulate the coordinate system used by the Graphics object. 坐标系统以及如何对其进行操作的详细信息,请参阅坐标系和坐标转换For more information on the coordinate system and how to manipulate it, see Coordinate Systems and Transformations.

属性

Clip Clip Clip Clip

获取或设置 Region,它限定此 Graphics 的绘图区域。Gets or sets a Region that limits the drawing region of this Graphics.

ClipBounds ClipBounds ClipBounds ClipBounds

获取一个 RectangleF 结构,该结构限定此 Graphics 的剪辑区域。Gets a RectangleF structure that bounds the clipping region of this Graphics.

CompositingMode CompositingMode CompositingMode CompositingMode

获取一个值,该值指定如何将合成图像绘制到此 GraphicsGets a value that specifies how composited images are drawn to this Graphics.

CompositingQuality CompositingQuality CompositingQuality CompositingQuality

获取或设置绘制到此 Graphics 的合成图像的呈现质量。Gets or sets the rendering quality of composited images drawn to this Graphics.

DpiX DpiX DpiX DpiX

获取此 Graphics 的水平分辨率。Gets the horizontal resolution of this Graphics.

DpiY DpiY DpiY DpiY

获取此 Graphics 的垂直分辨率。Gets the vertical resolution of this Graphics.

InterpolationMode InterpolationMode InterpolationMode InterpolationMode

获取或设置与此 Graphics 关联的插补模式。Gets or sets the interpolation mode associated with this Graphics.

IsClipEmpty IsClipEmpty IsClipEmpty IsClipEmpty

获取一个值,该值指示此 Graphics 的剪辑区域是否为空。Gets a value indicating whether the clipping region of this Graphics is empty.

IsVisibleClipEmpty IsVisibleClipEmpty IsVisibleClipEmpty IsVisibleClipEmpty

获取一个值,该值指示此 Graphics 的可见剪辑区域是否为空。Gets a value indicating whether the visible clipping region of this Graphics is empty.

PageScale PageScale PageScale PageScale

获取或设置此 Graphics 的世界单位和页单位之间的比例。Gets or sets the scaling between world units and page units for this Graphics.

PageUnit PageUnit PageUnit PageUnit

获取或设置用于此 Graphics 中的页坐标的度量单位。Gets or sets the unit of measure used for page coordinates in this Graphics.

PixelOffsetMode PixelOffsetMode PixelOffsetMode PixelOffsetMode

获取或设置一个值,该值指定在呈现此 Graphics 的过程中像素如何偏移。Gets or sets a value specifying how pixels are offset during rendering of this Graphics.

RenderingOrigin RenderingOrigin RenderingOrigin RenderingOrigin

为抵色处理和阴影画笔获取或设置此 Graphics 的呈现原点。Gets or sets the rendering origin of this Graphics for dithering and for hatch brushes.

SmoothingMode SmoothingMode SmoothingMode SmoothingMode

获取或设置此 Graphics 的呈现质量。Gets or sets the rendering quality for this Graphics.

TextContrast TextContrast TextContrast TextContrast

获取或设置呈现文本的灰度校正值。Gets or sets the gamma correction value for rendering text.

TextRenderingHint TextRenderingHint TextRenderingHint TextRenderingHint

获取或设置与此 Graphics 关联的文本的呈现模式。Gets or sets the rendering mode for text associated with this Graphics.

Transform Transform Transform Transform

获取或设置此 Graphics 的几何世界变换的副本。Gets or sets a copy of the geometric world transformation for this Graphics.

VisibleClipBounds VisibleClipBounds VisibleClipBounds VisibleClipBounds

获取此 Graphics 的可见剪辑区域的边框。Gets the bounding rectangle of the visible clipping region of this Graphics.

方法

AddMetafileComment(Byte[]) AddMetafileComment(Byte[]) AddMetafileComment(Byte[]) AddMetafileComment(Byte[])

向当前 Metafile 添加注释。Adds a comment to the current Metafile.

BeginContainer() BeginContainer() BeginContainer() BeginContainer()

保存具有此 Graphics 的当前状态的图形容器,然后打开并使用新的图形容器。Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container.

BeginContainer(Rectangle, Rectangle, GraphicsUnit) BeginContainer(Rectangle, Rectangle, GraphicsUnit) BeginContainer(Rectangle, Rectangle, GraphicsUnit) BeginContainer(Rectangle, Rectangle, GraphicsUnit)

保存具有此 Graphics 的当前状态的图形容器,然后打开并使用具有指定缩放变形的新图形容器。Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container with the specified scale transformation.

BeginContainer(RectangleF, RectangleF, GraphicsUnit) BeginContainer(RectangleF, RectangleF, GraphicsUnit) BeginContainer(RectangleF, RectangleF, GraphicsUnit) BeginContainer(RectangleF, RectangleF, GraphicsUnit)

保存具有此 Graphics 的当前状态的图形容器,然后打开并使用具有指定缩放变形的新图形容器。Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container with the specified scale transformation.

Clear(Color) Clear(Color) Clear(Color) Clear(Color)

清除整个绘图面并以指定背景色填充。Clears the entire drawing surface and fills it with the specified background color.

CopyFromScreen(Int32, Int32, Int32, Int32, Size) CopyFromScreen(Int32, Int32, Int32, Int32, Size) CopyFromScreen(Int32, Int32, Int32, Int32, Size) CopyFromScreen(Int32, Int32, Int32, Int32, Size)

执行颜色数据(对应于由像素组成的矩形)从屏幕到 Graphics 的绘图图面的位块传输。Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Int32, Int32, Int32, Int32, Size, CopyPixelOperation) CopyFromScreen(Int32, Int32, Int32, Int32, Size, CopyPixelOperation) CopyFromScreen(Int32, Int32, Int32, Int32, Size, CopyPixelOperation) CopyFromScreen(Int32, Int32, Int32, Int32, Size, CopyPixelOperation)

执行颜色数据(对应于由像素组成的矩形)从屏幕到 Graphics 的绘图图面的位块传输。Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Point, Point, Size) CopyFromScreen(Point, Point, Size) CopyFromScreen(Point, Point, Size) CopyFromScreen(Point, Point, Size)

执行颜色数据(对应于由像素组成的矩形)从屏幕到 Graphics 的绘图图面的位块传输。Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Point, Point, Size, CopyPixelOperation) CopyFromScreen(Point, Point, Size, CopyPixelOperation) CopyFromScreen(Point, Point, Size, CopyPixelOperation) CopyFromScreen(Point, Point, Size, CopyPixelOperation)

执行颜色数据(对应于由像素组成的矩形)从屏幕到 Graphics 的绘图图面的位块传输。Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose() Dispose() Dispose() Dispose()

释放此 Graphics 使用的所有资源。Releases all resources used by this Graphics.

DrawArc(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawArc(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawArc(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawArc(Pen, Int32, Int32, Int32, Int32, Int32, Int32)

绘制一段弧线,它表示由一对坐标、宽度和高度指定的椭圆部分。Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawArc(Pen, Rectangle, Single, Single) DrawArc(Pen, Rectangle, Single, Single) DrawArc(Pen, Rectangle, Single, Single) DrawArc(Pen, Rectangle, Single, Single)

绘制一段弧线,它表示 Rectangle 结构指定的椭圆的一部分。Draws an arc representing a portion of an ellipse specified by a Rectangle structure.

DrawArc(Pen, RectangleF, Single, Single) DrawArc(Pen, RectangleF, Single, Single) DrawArc(Pen, RectangleF, Single, Single) DrawArc(Pen, RectangleF, Single, Single)

绘制一段弧线,它表示 RectangleF 结构指定的椭圆的一部分。Draws an arc representing a portion of an ellipse specified by a RectangleF structure.

DrawArc(Pen, Single, Single, Single, Single, Single, Single) DrawArc(Pen, Single, Single, Single, Single, Single, Single) DrawArc(Pen, Single, Single, Single, Single, Single, Single) DrawArc(Pen, Single, Single, Single, Single, Single, Single)

绘制一段弧线,它表示由一对坐标、宽度和高度指定的椭圆部分。Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawBezier(Pen, Point, Point, Point, Point) DrawBezier(Pen, Point, Point, Point, Point) DrawBezier(Pen, Point, Point, Point, Point) DrawBezier(Pen, Point, Point, Point, Point)

绘制由 4 个 Point 结构定义的贝塞尔样条。Draws a Bézier spline defined by four Point structures.

DrawBezier(Pen, PointF, PointF, PointF, PointF) DrawBezier(Pen, PointF, PointF, PointF, PointF) DrawBezier(Pen, PointF, PointF, PointF, PointF) DrawBezier(Pen, PointF, PointF, PointF, PointF)

绘制由 4 个 PointF 结构定义的贝塞尔样条。Draws a Bézier spline defined by four PointF structures.

DrawBezier(Pen, Single, Single, Single, Single, Single, Single, Single, Single) DrawBezier(Pen, Single, Single, Single, Single, Single, Single, Single, Single) DrawBezier(Pen, Single, Single, Single, Single, Single, Single, Single, Single) DrawBezier(Pen, Single, Single, Single, Single, Single, Single, Single, Single)

绘制由四个表示点的有序坐标对定义的贝塞尔样条。Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.

DrawBeziers(Pen, PointF[]) DrawBeziers(Pen, PointF[]) DrawBeziers(Pen, PointF[]) DrawBeziers(Pen, PointF[])

PointF 结构数组绘制一系列贝塞尔样条。Draws a series of Bézier splines from an array of PointF structures.

DrawBeziers(Pen, Point[]) DrawBeziers(Pen, Point[]) DrawBeziers(Pen, Point[]) DrawBeziers(Pen, Point[])

Point 结构数组绘制一系列贝塞尔样条。Draws a series of Bézier splines from an array of Point structures.

DrawClosedCurve(Pen, PointF[]) DrawClosedCurve(Pen, PointF[]) DrawClosedCurve(Pen, PointF[]) DrawClosedCurve(Pen, PointF[])

绘制由 PointF 结构的数组定义的闭合基数样条。Draws a closed cardinal spline defined by an array of PointF structures.

DrawClosedCurve(Pen, PointF[], Single, FillMode) DrawClosedCurve(Pen, PointF[], Single, FillMode) DrawClosedCurve(Pen, PointF[], Single, FillMode) DrawClosedCurve(Pen, PointF[], Single, FillMode)

使用指定的张力绘制由 PointF 结构数组定义的闭合基数样条。Draws a closed cardinal spline defined by an array of PointF structures using a specified tension.

DrawClosedCurve(Pen, Point[]) DrawClosedCurve(Pen, Point[]) DrawClosedCurve(Pen, Point[]) DrawClosedCurve(Pen, Point[])

绘制由 Point 结构的数组定义的闭合基数样条。Draws a closed cardinal spline defined by an array of Point structures.

DrawClosedCurve(Pen, Point[], Single, FillMode) DrawClosedCurve(Pen, Point[], Single, FillMode) DrawClosedCurve(Pen, Point[], Single, FillMode) DrawClosedCurve(Pen, Point[], Single, FillMode)

使用指定的张力绘制由 Point 结构数组定义的闭合基数样条。Draws a closed cardinal spline defined by an array of Point structures using a specified tension.

DrawCurve(Pen, PointF[]) DrawCurve(Pen, PointF[]) DrawCurve(Pen, PointF[]) DrawCurve(Pen, PointF[])

绘制经过一组指定的 PointF 结构的基数样条。Draws a cardinal spline through a specified array of PointF structures.

DrawCurve(Pen, PointF[], Int32, Int32) DrawCurve(Pen, PointF[], Int32, Int32) DrawCurve(Pen, PointF[], Int32, Int32) DrawCurve(Pen, PointF[], Int32, Int32)

绘制经过一组指定的 PointF 结构的基数样条。Draws a cardinal spline through a specified array of PointF structures. 从相对于数组开始位置的偏移量开始绘制。The drawing begins offset from the beginning of the array.

DrawCurve(Pen, PointF[], Int32, Int32, Single) DrawCurve(Pen, PointF[], Int32, Int32, Single) DrawCurve(Pen, PointF[], Int32, Int32, Single) DrawCurve(Pen, PointF[], Int32, Int32, Single)

使用指定的张力绘制经过一组指定的 PointF 结构的基数样条。Draws a cardinal spline through a specified array of PointF structures using a specified tension. 从相对于数组开始位置的偏移量开始绘制。The drawing begins offset from the beginning of the array.

DrawCurve(Pen, PointF[], Single) DrawCurve(Pen, PointF[], Single) DrawCurve(Pen, PointF[], Single) DrawCurve(Pen, PointF[], Single)

使用指定的张力绘制经过一组指定的 PointF 结构的基数样条。Draws a cardinal spline through a specified array of PointF structures using a specified tension.

DrawCurve(Pen, Point[]) DrawCurve(Pen, Point[]) DrawCurve(Pen, Point[]) DrawCurve(Pen, Point[])

绘制经过一组指定的 Point 结构的基数样条。Draws a cardinal spline through a specified array of Point structures.

DrawCurve(Pen, Point[], Int32, Int32, Single) DrawCurve(Pen, Point[], Int32, Int32, Single) DrawCurve(Pen, Point[], Int32, Int32, Single) DrawCurve(Pen, Point[], Int32, Int32, Single)

使用指定的张力绘制经过一组指定的 Point 结构的基数样条。Draws a cardinal spline through a specified array of Point structures using a specified tension.

DrawCurve(Pen, Point[], Single) DrawCurve(Pen, Point[], Single) DrawCurve(Pen, Point[], Single) DrawCurve(Pen, Point[], Single)

使用指定的张力绘制经过一组指定的 Point 结构的基数样条。Draws a cardinal spline through a specified array of Point structures using a specified tension.

DrawEllipse(Pen, Int32, Int32, Int32, Int32) DrawEllipse(Pen, Int32, Int32, Int32, Int32) DrawEllipse(Pen, Int32, Int32, Int32, Int32) DrawEllipse(Pen, Int32, Int32, Int32, Int32)

绘制一个由边框定义的椭圆,该边框由矩形的左上角坐标、高度和宽度指定。Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.

DrawEllipse(Pen, Rectangle) DrawEllipse(Pen, Rectangle) DrawEllipse(Pen, Rectangle) DrawEllipse(Pen, Rectangle)

绘制边界 Rectangle 结构指定的椭圆。Draws an ellipse specified by a bounding Rectangle structure.

DrawEllipse(Pen, RectangleF) DrawEllipse(Pen, RectangleF) DrawEllipse(Pen, RectangleF) DrawEllipse(Pen, RectangleF)

绘制边界 RectangleF 定义的椭圆。Draws an ellipse defined by a bounding RectangleF.

DrawEllipse(Pen, Single, Single, Single, Single) DrawEllipse(Pen, Single, Single, Single, Single) DrawEllipse(Pen, Single, Single, Single, Single) DrawEllipse(Pen, Single, Single, Single, Single)

绘制一个由边框(该边框由一对坐标、高度和宽度指定)定义的椭圆。Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.

DrawIcon(Icon, Int32, Int32) DrawIcon(Icon, Int32, Int32) DrawIcon(Icon, Int32, Int32) DrawIcon(Icon, Int32, Int32)

在指定坐标处绘制由指定的 Icon 表示的图像。Draws the image represented by the specified Icon at the specified coordinates.

DrawIcon(Icon, Rectangle) DrawIcon(Icon, Rectangle) DrawIcon(Icon, Rectangle) DrawIcon(Icon, Rectangle)

Icon 结构指定的区域内绘制指定的 Rectangle 表示的图像。Draws the image represented by the specified Icon within the area specified by a Rectangle structure.

DrawIconUnstretched(Icon, Rectangle) DrawIconUnstretched(Icon, Rectangle) DrawIconUnstretched(Icon, Rectangle) DrawIconUnstretched(Icon, Rectangle)

绘制指定的 Icon 表示的图像,而不缩放该图像。Draws the image represented by the specified Icon without scaling the image.

DrawImage(Image, Int32, Int32) DrawImage(Image, Int32, Int32) DrawImage(Image, Int32, Int32) DrawImage(Image, Int32, Int32)

在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。Draws the specified image, using its original physical size, at the location specified by a coordinate pair.

DrawImage(Image, Int32, Int32, Int32, Int32) DrawImage(Image, Int32, Int32, Int32, Int32) DrawImage(Image, Int32, Int32, Int32, Int32) DrawImage(Image, Int32, Int32, Int32, Int32)

在指定位置并且按指定大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified size.

DrawImage(Image, Int32, Int32, Rectangle, GraphicsUnit) DrawImage(Image, Int32, Int32, Rectangle, GraphicsUnit) DrawImage(Image, Int32, Int32, Rectangle, GraphicsUnit) DrawImage(Image, Int32, Int32, Rectangle, GraphicsUnit)

在指定的位置绘制图像的一部分。Draws a portion of an image at a specified location.

DrawImage(Image, Point) DrawImage(Image, Point) DrawImage(Image, Point) DrawImage(Image, Point)

在指定的位置使用原始物理大小绘制指定的 ImageDraws the specified Image, using its original physical size, at the specified location.

DrawImage(Image, PointF) DrawImage(Image, PointF) DrawImage(Image, PointF) DrawImage(Image, PointF)

在指定的位置使用原始物理大小绘制指定的 ImageDraws the specified Image, using its original physical size, at the specified location.

DrawImage(Image, PointF[]) DrawImage(Image, PointF[]) DrawImage(Image, PointF[]) DrawImage(Image, PointF[])

在指定位置并且按指定形状和大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified shape and size.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit) DrawImage(Image, PointF[], RectangleF, GraphicsUnit) DrawImage(Image, PointF[], RectangleF, GraphicsUnit) DrawImage(Image, PointF[], RectangleF, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Point[]) DrawImage(Image, Point[]) DrawImage(Image, Point[]) DrawImage(Image, Point[])

在指定位置并且按指定形状和大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified shape and size.

DrawImage(Image, Point[], Rectangle, GraphicsUnit) DrawImage(Image, Point[], Rectangle, GraphicsUnit) DrawImage(Image, Point[], Rectangle, GraphicsUnit) DrawImage(Image, Point[], Rectangle, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes)

在指定位置绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location.

DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle) DrawImage(Image, Rectangle) DrawImage(Image, Rectangle) DrawImage(Image, Rectangle)

在指定位置并且按指定大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Rectangle, GraphicsUnit) DrawImage(Image, Rectangle, Rectangle, GraphicsUnit) DrawImage(Image, Rectangle, Rectangle, GraphicsUnit) DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, RectangleF) DrawImage(Image, RectangleF) DrawImage(Image, RectangleF) DrawImage(Image, RectangleF)

在指定位置并且按指定大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified size.

DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

在指定位置并且按指定大小绘制指定的 Image 的指定部分。Draws the specified portion of the specified Image at the specified location and with the specified size.

DrawImage(Image, Single, Single) DrawImage(Image, Single, Single) DrawImage(Image, Single, Single) DrawImage(Image, Single, Single)

在指定的位置使用原始物理大小绘制指定的 ImageDraws the specified Image, using its original physical size, at the specified location.

DrawImage(Image, Single, Single, RectangleF, GraphicsUnit) DrawImage(Image, Single, Single, RectangleF, GraphicsUnit) DrawImage(Image, Single, Single, RectangleF, GraphicsUnit) DrawImage(Image, Single, Single, RectangleF, GraphicsUnit)

在指定的位置绘制图像的一部分。Draws a portion of an image at a specified location.

DrawImage(Image, Single, Single, Single, Single) DrawImage(Image, Single, Single, Single, Single) DrawImage(Image, Single, Single, Single, Single) DrawImage(Image, Single, Single, Single, Single)

在指定位置并且按指定大小绘制指定的 ImageDraws the specified Image at the specified location and with the specified size.

DrawImageUnscaled(Image, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32)

在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。Draws the specified image using its original physical size at the location specified by a coordinate pair.

DrawImageUnscaled(Image, Int32, Int32, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32, Int32, Int32) DrawImageUnscaled(Image, Int32, Int32, Int32, Int32)

在指定的位置使用图像的原始物理大小绘制指定的图像。Draws a specified image using its original physical size at a specified location.

DrawImageUnscaled(Image, Point) DrawImageUnscaled(Image, Point) DrawImageUnscaled(Image, Point) DrawImageUnscaled(Image, Point)

在指定的位置使用图像的原始物理大小绘制指定的图像。Draws a specified image using its original physical size at a specified location.

DrawImageUnscaled(Image, Rectangle) DrawImageUnscaled(Image, Rectangle) DrawImageUnscaled(Image, Rectangle) DrawImageUnscaled(Image, Rectangle)

在指定的位置使用图像的原始物理大小绘制指定的图像。Draws a specified image using its original physical size at a specified location.

DrawImageUnscaledAndClipped(Image, Rectangle) DrawImageUnscaledAndClipped(Image, Rectangle) DrawImageUnscaledAndClipped(Image, Rectangle) DrawImageUnscaledAndClipped(Image, Rectangle)

在不进行缩放的情况下绘制指定的图像,并在需要时剪辑该图像以适合指定的矩形。Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.

DrawLine(Pen, Int32, Int32, Int32, Int32) DrawLine(Pen, Int32, Int32, Int32, Int32) DrawLine(Pen, Int32, Int32, Int32, Int32) DrawLine(Pen, Int32, Int32, Int32, Int32)

绘制一条连接由坐标对指定的两个点的线条。Draws a line connecting the two points specified by the coordinate pairs.

DrawLine(Pen, Point, Point) DrawLine(Pen, Point, Point) DrawLine(Pen, Point, Point) DrawLine(Pen, Point, Point)

绘制一条连接两个 Point 结构的线。Draws a line connecting two Point structures.

DrawLine(Pen, PointF, PointF) DrawLine(Pen, PointF, PointF) DrawLine(Pen, PointF, PointF) DrawLine(Pen, PointF, PointF)

绘制一条连接两个 PointF 结构的线。Draws a line connecting two PointF structures.

DrawLine(Pen, Single, Single, Single, Single) DrawLine(Pen, Single, Single, Single, Single) DrawLine(Pen, Single, Single, Single, Single) DrawLine(Pen, Single, Single, Single, Single)

绘制一条连接由坐标对指定的两个点的线条。Draws a line connecting the two points specified by the coordinate pairs.

DrawLines(Pen, PointF[]) DrawLines(Pen, PointF[]) DrawLines(Pen, PointF[]) DrawLines(Pen, PointF[])

绘制一系列连接一组 PointF 结构的线段。Draws a series of line segments that connect an array of PointF structures.

DrawLines(Pen, Point[]) DrawLines(Pen, Point[]) DrawLines(Pen, Point[]) DrawLines(Pen, Point[])

绘制一系列连接一组 Point 结构的线段。Draws a series of line segments that connect an array of Point structures.

DrawPath(Pen, GraphicsPath) DrawPath(Pen, GraphicsPath) DrawPath(Pen, GraphicsPath) DrawPath(Pen, GraphicsPath)

绘制 GraphicsPathDraws a GraphicsPath.

DrawPie(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawPie(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawPie(Pen, Int32, Int32, Int32, Int32, Int32, Int32) DrawPie(Pen, Int32, Int32, Int32, Int32, Int32, Int32)

绘制一个扇形,该形状由一个坐标对、宽度、高度以及两条射线所指定的椭圆定义。Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.

DrawPie(Pen, Rectangle, Single, Single) DrawPie(Pen, Rectangle, Single, Single) DrawPie(Pen, Rectangle, Single, Single) DrawPie(Pen, Rectangle, Single, Single)

绘制由一个 Rectangle 结构和两条射线所指定的椭圆定义的扇形。Draws a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines.

DrawPie(Pen, RectangleF, Single, Single) DrawPie(Pen, RectangleF, Single, Single) DrawPie(Pen, RectangleF, Single, Single) DrawPie(Pen, RectangleF, Single, Single)

绘制由一个 RectangleF 结构和两条射线所指定的椭圆定义的扇形。Draws a pie shape defined by an ellipse specified by a RectangleF structure and two radial lines.

DrawPie(Pen, Single, Single, Single, Single, Single, Single) DrawPie(Pen, Single, Single, Single, Single, Single, Single) DrawPie(Pen, Single, Single, Single, Single, Single, Single) DrawPie(Pen, Single, Single, Single, Single, Single, Single)

绘制一个扇形,该形状由一个坐标对、宽度、高度以及两条射线所指定的椭圆定义。Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.

DrawPolygon(Pen, PointF[]) DrawPolygon(Pen, PointF[]) DrawPolygon(Pen, PointF[]) DrawPolygon(Pen, PointF[])

绘制由一组 PointF 结构定义的多边形。Draws a polygon defined by an array of PointF structures.

DrawPolygon(Pen, Point[]) DrawPolygon(Pen, Point[]) DrawPolygon(Pen, Point[]) DrawPolygon(Pen, Point[])

绘制由一组 Point 结构定义的多边形。Draws a polygon defined by an array of Point structures.

DrawRectangle(Pen, Int32, Int32, Int32, Int32) DrawRectangle(Pen, Int32, Int32, Int32, Int32) DrawRectangle(Pen, Int32, Int32, Int32, Int32) DrawRectangle(Pen, Int32, Int32, Int32, Int32)

绘制由坐标对、宽度和高度指定的矩形。Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawRectangle(Pen, Rectangle) DrawRectangle(Pen, Rectangle) DrawRectangle(Pen, Rectangle) DrawRectangle(Pen, Rectangle)

绘制由 Rectangle 结构指定的矩形。Draws a rectangle specified by a Rectangle structure.

DrawRectangle(Pen, Single, Single, Single, Single) DrawRectangle(Pen, Single, Single, Single, Single) DrawRectangle(Pen, Single, Single, Single, Single) DrawRectangle(Pen, Single, Single, Single, Single)

绘制由坐标对、宽度和高度指定的矩形。Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawRectangles(Pen, RectangleF[]) DrawRectangles(Pen, RectangleF[]) DrawRectangles(Pen, RectangleF[]) DrawRectangles(Pen, RectangleF[])

绘制一系列由 RectangleF 结构指定的矩形。Draws a series of rectangles specified by RectangleF structures.

DrawRectangles(Pen, Rectangle[]) DrawRectangles(Pen, Rectangle[]) DrawRectangles(Pen, Rectangle[]) DrawRectangles(Pen, Rectangle[])

绘制一系列由 Rectangle 结构指定的矩形。Draws a series of rectangles specified by Rectangle structures.

DrawString(String, Font, Brush, PointF) DrawString(String, Font, Brush, PointF) DrawString(String, Font, Brush, PointF) DrawString(String, Font, Brush, PointF)

在指定位置并且用指定的 BrushFont 对象绘制指定的文本字符串。Draws the specified text string at the specified location with the specified Brush and Font objects.

DrawString(String, Font, Brush, PointF, StringFormat) DrawString(String, Font, Brush, PointF, StringFormat) DrawString(String, Font, Brush, PointF, StringFormat) DrawString(String, Font, Brush, PointF, StringFormat)

使用指定 Brush 的格式化特性,用指定的 FontStringFormat 对象在指定的位置绘制指定的文本字符串。Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

DrawString(String, Font, Brush, RectangleF) DrawString(String, Font, Brush, RectangleF) DrawString(String, Font, Brush, RectangleF) DrawString(String, Font, Brush, RectangleF)

在指定矩形并且用指定的 BrushFont 对象绘制指定的文本字符串。Draws the specified text string in the specified rectangle with the specified Brush and Font objects.

DrawString(String, Font, Brush, RectangleF, StringFormat) DrawString(String, Font, Brush, RectangleF, StringFormat) DrawString(String, Font, Brush, RectangleF, StringFormat) DrawString(String, Font, Brush, RectangleF, StringFormat)

使用指定 Brush 的格式化特性,用指定的 FontStringFormat 对象在指定的矩形绘制指定的文本字符串。Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

DrawString(String, Font, Brush, Single, Single) DrawString(String, Font, Brush, Single, Single) DrawString(String, Font, Brush, Single, Single) DrawString(String, Font, Brush, Single, Single)

在指定位置并且用指定的 BrushFont 对象绘制指定的文本字符串。Draws the specified text string at the specified location with the specified Brush and Font objects.

DrawString(String, Font, Brush, Single, Single, StringFormat) DrawString(String, Font, Brush, Single, Single, StringFormat) DrawString(String, Font, Brush, Single, Single, StringFormat) DrawString(String, Font, Brush, Single, Single, StringFormat)

使用指定 Brush 的格式化特性,用指定的 FontStringFormat 对象在指定的位置绘制指定的文本字符串。Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

EndContainer(GraphicsContainer) EndContainer(GraphicsContainer) EndContainer(GraphicsContainer) EndContainer(GraphicsContainer)

关闭当前图形容器,并将此 Graphics 的状态还原到通过调用 BeginContainer() 方法保存的状态。Closes the current graphics container and restores the state of this Graphics to the state saved by a call to the BeginContainer() method.

EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的点处显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的点处显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的点处用指定的图像特性显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.

EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的点处用指定的图像特性显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.

EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的点处显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的点处显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的点处用指定的图像特性显示。Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.

EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point.

EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的点处用指定的图像特性显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.

EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像特性显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.

EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像特性显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.

EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像特性显示。Sends the records in the specified Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.

EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram.

EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像特性显示。Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.

EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的矩形中用指定的图像特性显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.

EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的矩形中用指定的图像特性显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.

EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr)

将指定 Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

将指定 Metafile 中的记录逐个发送到回调方法,以在指定的矩形中用指定的图像特性显示。Sends the records of the specified Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.

EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr)

Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle.

EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes) EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics+EnumerateMetafileProc, IntPtr, ImageAttributes)

Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的矩形中用指定的图像特性显示。Sends the records of a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExcludeClip(Rectangle) ExcludeClip(Rectangle) ExcludeClip(Rectangle) ExcludeClip(Rectangle)

更新此 Graphics 的剪辑区域,以排除 Rectangle 结构所指定的区域。Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure.

ExcludeClip(Region) ExcludeClip(Region) ExcludeClip(Region) ExcludeClip(Region)

更新此 Graphics 的剪辑区域,以排除 Region 所指定的区域。Updates the clip region of this Graphics to exclude the area specified by a Region.

FillClosedCurve(Brush, PointF[]) FillClosedCurve(Brush, PointF[]) FillClosedCurve(Brush, PointF[]) FillClosedCurve(Brush, PointF[])

填充由 PointF 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of PointF structures.

FillClosedCurve(Brush, PointF[], FillMode) FillClosedCurve(Brush, PointF[], FillMode) FillClosedCurve(Brush, PointF[], FillMode) FillClosedCurve(Brush, PointF[], FillMode)

使用指定的填充模式填充 PointF 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of PointF structures using the specified fill mode.

FillClosedCurve(Brush, PointF[], FillMode, Single) FillClosedCurve(Brush, PointF[], FillMode, Single) FillClosedCurve(Brush, PointF[], FillMode, Single) FillClosedCurve(Brush, PointF[], FillMode, Single)

使用指定的填充模式和张力填充 PointF 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of PointF structures using the specified fill mode and tension.

FillClosedCurve(Brush, Point[]) FillClosedCurve(Brush, Point[]) FillClosedCurve(Brush, Point[]) FillClosedCurve(Brush, Point[])

填充由 Point 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of Point structures.

FillClosedCurve(Brush, Point[], FillMode) FillClosedCurve(Brush, Point[], FillMode) FillClosedCurve(Brush, Point[], FillMode) FillClosedCurve(Brush, Point[], FillMode)

使用指定的填充模式填充 Point 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of Point structures using the specified fill mode.

FillClosedCurve(Brush, Point[], FillMode, Single) FillClosedCurve(Brush, Point[], FillMode, Single) FillClosedCurve(Brush, Point[], FillMode, Single) FillClosedCurve(Brush, Point[], FillMode, Single)

使用指定的填充模式和张力填充 Point 结构数组定义的闭合基数样条曲线的内部。Fills the interior of a closed cardinal spline curve defined by an array of Point structures using the specified fill mode and tension.

FillEllipse(Brush, Int32, Int32, Int32, Int32) FillEllipse(Brush, Int32, Int32, Int32, Int32) FillEllipse(Brush, Int32, Int32, Int32, Int32) FillEllipse(Brush, Int32, Int32, Int32, Int32)

填充边框所定义的椭圆的内部,该边框由一对坐标、一个宽度和一个高度指定。Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

FillEllipse(Brush, Rectangle) FillEllipse(Brush, Rectangle) FillEllipse(Brush, Rectangle) FillEllipse(Brush, Rectangle)

填充 Rectangle 结构指定的边框所定义的椭圆的内部。Fills the interior of an ellipse defined by a bounding rectangle specified by a Rectangle structure.

FillEllipse(Brush, RectangleF) FillEllipse(Brush, RectangleF) FillEllipse(Brush, RectangleF) FillEllipse(Brush, RectangleF)

填充 RectangleF 结构指定的边框所定义的椭圆的内部。Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure.

FillEllipse(Brush, Single, Single, Single, Single) FillEllipse(Brush, Single, Single, Single, Single) FillEllipse(Brush, Single, Single, Single, Single) FillEllipse(Brush, Single, Single, Single, Single)

填充边框所定义的椭圆的内部,该边框由一对坐标、一个宽度和一个高度指定。Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

FillPath(Brush, GraphicsPath) FillPath(Brush, GraphicsPath) FillPath(Brush, GraphicsPath) FillPath(Brush, GraphicsPath)

填充 GraphicsPath 的内部。Fills the interior of a GraphicsPath.

FillPie(Brush, Int32, Int32, Int32, Int32, Int32, Int32) FillPie(Brush, Int32, Int32, Int32, Int32, Int32, Int32) FillPie(Brush, Int32, Int32, Int32, Int32, Int32, Int32) FillPie(Brush, Int32, Int32, Int32, Int32, Int32, Int32)

填充由一对坐标、一个宽度、一个高度以及两条射线指定的椭圆所定义的扇形区的内部。Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.

FillPie(Brush, Rectangle, Single, Single) FillPie(Brush, Rectangle, Single, Single) FillPie(Brush, Rectangle, Single, Single) FillPie(Brush, Rectangle, Single, Single)

填充椭圆所定义的扇形区的内部,该椭圆由 RectangleF 结构和两条射线指定。Fills the interior of a pie section defined by an ellipse specified by a RectangleF structure and two radial lines.

FillPie(Brush, Single, Single, Single, Single, Single, Single) FillPie(Brush, Single, Single, Single, Single, Single, Single) FillPie(Brush, Single, Single, Single, Single, Single, Single) FillPie(Brush, Single, Single, Single, Single, Single, Single)

填充由一对坐标、一个宽度、一个高度以及两条射线指定的椭圆所定义的扇形区的内部。Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.

FillPolygon(Brush, PointF[]) FillPolygon(Brush, PointF[]) FillPolygon(Brush, PointF[]) FillPolygon(Brush, PointF[])

填充 PointF 结构指定的点数组所定义的多边形的内部。Fills the interior of a polygon defined by an array of points specified by PointF structures.

FillPolygon(Brush, PointF[], FillMode) FillPolygon(Brush, PointF[], FillMode) FillPolygon(Brush, PointF[], FillMode) FillPolygon(Brush, PointF[], FillMode)

使用指定的填充模式填充 PointF 结构指定的点数组所定义的多边形的内部。Fills the interior of a polygon defined by an array of points specified by PointF structures using the specified fill mode.

FillPolygon(Brush, Point[]) FillPolygon(Brush, Point[]) FillPolygon(Brush, Point[]) FillPolygon(Brush, Point[])

填充 Point 结构指定的点数组所定义的多边形的内部。Fills the interior of a polygon defined by an array of points specified by Point structures.

FillPolygon(Brush, Point[], FillMode) FillPolygon(Brush, Point[], FillMode) FillPolygon(Brush, Point[], FillMode) FillPolygon(Brush, Point[], FillMode)

使用指定的填充模式填充 Point 结构指定的点数组所定义的多边形的内部。Fills the interior of a polygon defined by an array of points specified by Point structures using the specified fill mode.

FillRectangle(Brush, Int32, Int32, Int32, Int32) FillRectangle(Brush, Int32, Int32, Int32, Int32) FillRectangle(Brush, Int32, Int32, Int32, Int32) FillRectangle(Brush, Int32, Int32, Int32, Int32)

填充由一对坐标、一个宽度和一个高度指定的矩形的内部。Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

FillRectangle(Brush, Rectangle) FillRectangle(Brush, Rectangle) FillRectangle(Brush, Rectangle) FillRectangle(Brush, Rectangle)

填充 Rectangle 结构指定的矩形的内部。Fills the interior of a rectangle specified by a Rectangle structure.

FillRectangle(Brush, RectangleF) FillRectangle(Brush, RectangleF) FillRectangle(Brush, RectangleF) FillRectangle(Brush, RectangleF)

填充 RectangleF 结构指定的矩形的内部。Fills the interior of a rectangle specified by a RectangleF structure.

FillRectangle(Brush, Single, Single, Single, Single) FillRectangle(Brush, Single, Single, Single, Single) FillRectangle(Brush, Single, Single, Single, Single) FillRectangle(Brush, Single, Single, Single, Single)

填充由一对坐标、一个宽度和一个高度指定的矩形的内部。Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

FillRectangles(Brush, RectangleF[]) FillRectangles(Brush, RectangleF[]) FillRectangles(Brush, RectangleF[]) FillRectangles(Brush, RectangleF[])

填充由 RectangleF 结构指定的一系列矩形的内部。Fills the interiors of a series of rectangles specified by RectangleF structures.

FillRectangles(Brush, Rectangle[]) FillRectangles(Brush, Rectangle[]) FillRectangles(Brush, Rectangle[]) FillRectangles(Brush, Rectangle[])

填充由 Rectangle 结构指定的一系列矩形的内部。Fills the interiors of a series of rectangles specified by Rectangle structures.

FillRegion(Brush, Region) FillRegion(Brush, Region) FillRegion(Brush, Region) FillRegion(Brush, Region)

填充 Region 的内部。Fills the interior of a Region.

Finalize() Finalize() Finalize() Finalize()

在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Flush() Flush() Flush() Flush()

强制执行所有挂起的图形操作并立即返回而不等待操作完成。Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

Flush(FlushIntention) Flush(FlushIntention) Flush(FlushIntention) Flush(FlushIntention)

用此方法强制执行所有挂起的图形操作,按照指定,等待或者不等待,在操作完成之前返回。Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

FromHdc(IntPtr) FromHdc(IntPtr) FromHdc(IntPtr) FromHdc(IntPtr)

从设备上下文的指定句柄创建新的 GraphicsCreates a new Graphics from the specified handle to a device context.

FromHdc(IntPtr, IntPtr) FromHdc(IntPtr, IntPtr) FromHdc(IntPtr, IntPtr) FromHdc(IntPtr, IntPtr)

从设备上下文的指定句柄和设备的句柄创建新的 GraphicsCreates a new Graphics from the specified handle to a device context and handle to a device.

FromHdcInternal(IntPtr) FromHdcInternal(IntPtr) FromHdcInternal(IntPtr) FromHdcInternal(IntPtr)

返回指定设备上下文的 GraphicsReturns a Graphics for the specified device context.

FromHwnd(IntPtr) FromHwnd(IntPtr) FromHwnd(IntPtr) FromHwnd(IntPtr)

从窗口的指定句柄创建新的 GraphicsCreates a new Graphics from the specified handle to a window.

FromHwndInternal(IntPtr) FromHwndInternal(IntPtr) FromHwndInternal(IntPtr) FromHwndInternal(IntPtr)

创建指定 Windows 句柄的新 GraphicsCreates a new Graphics for the specified windows handle.

FromImage(Image) FromImage(Image) FromImage(Image) FromImage(Image)

从指定的 Graphics 创建新的 ImageCreates a new Graphics from the specified Image.

GetContextInfo() GetContextInfo() GetContextInfo() GetContextInfo()

获取累积的图形上下文。Gets the cumulative graphics context.

GetHalftonePalette() GetHalftonePalette() GetHalftonePalette() GetHalftonePalette()

获取当前 Windows 的半色调调色板的句柄。Gets a handle to the current Windows halftone palette.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetHdc() GetHdc() GetHdc() GetHdc()

获取与此 Graphics 关联的设备上下文的句柄。Gets the handle to the device context associated with this Graphics.

GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetNearestColor(Color) GetNearestColor(Color) GetNearestColor(Color) GetNearestColor(Color)

获取与指定的 Color 结构最接近的颜色。Gets the nearest color to the specified Color structure.

GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

获取生存期服务对象来控制此实例的生存期策略。Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
IntersectClip(Rectangle) IntersectClip(Rectangle) IntersectClip(Rectangle) IntersectClip(Rectangle)

将此 Graphics 的剪辑区域更新为当前剪辑区域与指定 Rectangle 结构的交集。Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure.

IntersectClip(RectangleF) IntersectClip(RectangleF) IntersectClip(RectangleF) IntersectClip(RectangleF)

将此 Graphics 的剪辑区域更新为当前剪辑区域与指定 RectangleF 结构的交集。Updates the clip region of this Graphics to the intersection of the current clip region and the specified RectangleF structure.

IntersectClip(Region) IntersectClip(Region) IntersectClip(Region) IntersectClip(Region)

将此 Graphics 对象的剪辑区域更新为当前剪辑区域与指定 Region 的交集。Updates the clip region of this Graphics to the intersection of the current clip region and the specified Region.

IsVisible(Int32, Int32) IsVisible(Int32, Int32) IsVisible(Int32, Int32) IsVisible(Int32, Int32)

指示由一对坐标指定的点是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics.

IsVisible(Int32, Int32, Int32, Int32) IsVisible(Int32, Int32, Int32, Int32) IsVisible(Int32, Int32, Int32, Int32) IsVisible(Int32, Int32, Int32, Int32)

指示由一对坐标、一个宽度和一个高度指定的矩形是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this Graphics.

IsVisible(Point) IsVisible(Point) IsVisible(Point) IsVisible(Point)

指示指定的 Point 结构是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the specified Point structure is contained within the visible clip region of this Graphics.

IsVisible(PointF) IsVisible(PointF) IsVisible(PointF) IsVisible(PointF)

指示指定的 PointF 结构是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the specified PointF structure is contained within the visible clip region of this Graphics.

IsVisible(Rectangle) IsVisible(Rectangle) IsVisible(Rectangle) IsVisible(Rectangle)

指示 Rectangle 结构指定的矩形是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the rectangle specified by a Rectangle structure is contained within the visible clip region of this Graphics.

IsVisible(RectangleF) IsVisible(RectangleF) IsVisible(RectangleF) IsVisible(RectangleF)

指示 RectangleF 结构指定的矩形是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the rectangle specified by a RectangleF structure is contained within the visible clip region of this Graphics.

IsVisible(Single, Single) IsVisible(Single, Single) IsVisible(Single, Single) IsVisible(Single, Single)

指示由一对坐标指定的点是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics.

IsVisible(Single, Single, Single, Single) IsVisible(Single, Single, Single, Single) IsVisible(Single, Single, Single, Single) IsVisible(Single, Single, Single, Single)

指示由一对坐标、一个宽度和一个高度指定的矩形是否包含在此 Graphics 的可见剪辑区域内。Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this Graphics.

MeasureCharacterRanges(String, Font, RectangleF, StringFormat) MeasureCharacterRanges(String, Font, RectangleF, StringFormat) MeasureCharacterRanges(String, Font, RectangleF, StringFormat) MeasureCharacterRanges(String, Font, RectangleF, StringFormat)

获取 Region 对象的数组,其中每个对象将字符位置的范围限定在指定字符串内。Gets an array of Region objects, each of which bounds a range of character positions within the specified string.

MeasureString(String, Font) MeasureString(String, Font) MeasureString(String, Font) MeasureString(String, Font)

测量用指定的 Font 绘制的指定字符串。Measures the specified string when drawn with the specified Font.

MeasureString(String, Font, Int32) MeasureString(String, Font, Int32) MeasureString(String, Font, Int32) MeasureString(String, Font, Int32)

测量用指定的 Font 绘制的指定字符串。Measures the specified string when drawn with the specified Font.

MeasureString(String, Font, Int32, StringFormat) MeasureString(String, Font, Int32, StringFormat) MeasureString(String, Font, Int32, StringFormat) MeasureString(String, Font, Int32, StringFormat)

测量用指定的 Font 绘制并用指定的 StringFormat 格式化的指定字符串。Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

MeasureString(String, Font, PointF, StringFormat) MeasureString(String, Font, PointF, StringFormat) MeasureString(String, Font, PointF, StringFormat) MeasureString(String, Font, PointF, StringFormat)

测量用指定的 Font 绘制并用指定的 StringFormat 格式化的指定字符串。Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

MeasureString(String, Font, SizeF) MeasureString(String, Font, SizeF) MeasureString(String, Font, SizeF) MeasureString(String, Font, SizeF)

当在指定的布局区域内以指定的 Font 绘制时,测量指定的字符串。Measures the specified string when drawn with the specified Font within the specified layout area.

MeasureString(String, Font, SizeF, StringFormat) MeasureString(String, Font, SizeF, StringFormat) MeasureString(String, Font, SizeF, StringFormat) MeasureString(String, Font, SizeF, StringFormat)

测量用指定的 Font 绘制并用指定的 StringFormat 格式化的指定字符串。Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

MeasureString(String, Font, SizeF, StringFormat, Int32, Int32) MeasureString(String, Font, SizeF, StringFormat, Int32, Int32) MeasureString(String, Font, SizeF, StringFormat, Int32, Int32) MeasureString(String, Font, SizeF, StringFormat, Int32, Int32)

测量用指定的 Font 绘制并用指定的 StringFormat 格式化的指定字符串。Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
MultiplyTransform(Matrix) MultiplyTransform(Matrix) MultiplyTransform(Matrix) MultiplyTransform(Matrix)

将此 Graphics 的世界变换乘以指定的 MatrixMultiplies the world transformation of this Graphics and specified the Matrix.

MultiplyTransform(Matrix, MatrixOrder) MultiplyTransform(Matrix, MatrixOrder) MultiplyTransform(Matrix, MatrixOrder) MultiplyTransform(Matrix, MatrixOrder)

以指定顺序将此 Graphics 的世界变换乘以指定的 MatrixMultiplies the world transformation of this Graphics and specified the Matrix in the specified order.

ReleaseHdc() ReleaseHdc() ReleaseHdc() ReleaseHdc()

释放通过以前对此 GetHdc()Graphics 方法的调用获得的设备上下文句柄。Releases a device context handle obtained by a previous call to the GetHdc() method of this Graphics.

ReleaseHdc(IntPtr) ReleaseHdc(IntPtr) ReleaseHdc(IntPtr) ReleaseHdc(IntPtr)

释放通过以前对此 GetHdc()Graphics 方法的调用获得的设备上下文句柄。Releases a device context handle obtained by a previous call to the GetHdc() method of this Graphics.

ReleaseHdcInternal(IntPtr) ReleaseHdcInternal(IntPtr) ReleaseHdcInternal(IntPtr) ReleaseHdcInternal(IntPtr)

释放设备上下文的句柄。Releases a handle to a device context.

ResetClip() ResetClip() ResetClip() ResetClip()

将此 Graphics 的剪辑区域重置为无限区域。Resets the clip region of this Graphics to an infinite region.

ResetTransform() ResetTransform() ResetTransform() ResetTransform()

将此 Graphics 的世界变换矩阵重置为单位矩阵。Resets the world transformation matrix of this Graphics to the identity matrix.

Restore(GraphicsState) Restore(GraphicsState) Restore(GraphicsState) Restore(GraphicsState)

将此 Graphics 的状态还原到 GraphicsState 表示的状态。Restores the state of this Graphics to the state represented by a GraphicsState.

RotateTransform(Single) RotateTransform(Single) RotateTransform(Single) RotateTransform(Single)

将指定旋转应用于此 Graphics 的变换矩阵。Applies the specified rotation to the transformation matrix of this Graphics.

RotateTransform(Single, MatrixOrder) RotateTransform(Single, MatrixOrder) RotateTransform(Single, MatrixOrder) RotateTransform(Single, MatrixOrder)

以指定顺序将指定旋转应用到此 Graphics 的变换矩阵。Applies the specified rotation to the transformation matrix of this Graphics in the specified order.

Save() Save() Save() Save()

保存此 Graphics 的当前状态,并用 GraphicsState 标识保存的状态。Saves the current state of this Graphics and identifies the saved state with a GraphicsState.

ScaleTransform(Single, Single) ScaleTransform(Single, Single) ScaleTransform(Single, Single) ScaleTransform(Single, Single)

将指定的缩放操作应用于此 Graphics 的变换矩阵,方法是将该对象的变换矩阵左乘该缩放矩阵。Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix.

ScaleTransform(Single, Single, MatrixOrder) ScaleTransform(Single, Single, MatrixOrder) ScaleTransform(Single, Single, MatrixOrder) ScaleTransform(Single, Single, MatrixOrder)

以指定顺序将指定的缩放操作应用到此 Graphics 的变换矩阵。Applies the specified scaling operation to the transformation matrix of this Graphics in the specified order.

SetClip(Graphics) SetClip(Graphics) SetClip(Graphics) SetClip(Graphics)

将此 Graphics 的剪辑区域设置为指定 GraphicsClip 属性。Sets the clipping region of this Graphics to the Clip property of the specified Graphics.

SetClip(Graphics, CombineMode) SetClip(Graphics, CombineMode) SetClip(Graphics, CombineMode) SetClip(Graphics, CombineMode)

将此 Graphics 的剪辑区域设置为当前剪辑区域和指定的 ClipGraphics 属性指定的组合操作的结果。Sets the clipping region of this Graphics to the result of the specified combining operation of the current clip region and the Clip property of the specified Graphics.

SetClip(GraphicsPath) SetClip(GraphicsPath) SetClip(GraphicsPath) SetClip(GraphicsPath)

将此 Graphics 的剪辑区域设置为指定的 GraphicsPathSets the clipping region of this Graphics to the specified GraphicsPath.

SetClip(GraphicsPath, CombineMode) SetClip(GraphicsPath, CombineMode) SetClip(GraphicsPath, CombineMode) SetClip(GraphicsPath, CombineMode)

将此 Graphics 的剪辑区域设置为当前剪辑区域与指定 GraphicsPath 的组合结果。Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified GraphicsPath.

SetClip(Rectangle) SetClip(Rectangle) SetClip(Rectangle) SetClip(Rectangle)

将此 Graphics 的剪辑区域设置为 Rectangle 结构指定的矩形。Sets the clipping region of this Graphics to the rectangle specified by a Rectangle structure.

SetClip(Rectangle, CombineMode) SetClip(Rectangle, CombineMode) SetClip(Rectangle, CombineMode) SetClip(Rectangle, CombineMode)

将此 Graphics 的剪辑区域设置为当前剪辑区域与 Rectangle 结构所指定矩形的组合结果。Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle structure.

SetClip(RectangleF) SetClip(RectangleF) SetClip(RectangleF) SetClip(RectangleF)

将此 Graphics 的剪辑区域设置为 RectangleF 结构指定的矩形。Sets the clipping region of this Graphics to the rectangle specified by a RectangleF structure.

SetClip(RectangleF, CombineMode) SetClip(RectangleF, CombineMode) SetClip(RectangleF, CombineMode) SetClip(RectangleF, CombineMode)

将此 Graphics 的剪辑区域设置为当前剪辑区域与 RectangleF 结构所指定矩形的组合结果。Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a RectangleF structure.

SetClip(Region, CombineMode) SetClip(Region, CombineMode) SetClip(Region, CombineMode) SetClip(Region, CombineMode)

将此 Graphics 的剪辑区域设置为当前剪辑区域与指定 Region 的组合结果。Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified Region.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)
TransformPoints(CoordinateSpace, CoordinateSpace, PointF[]) TransformPoints(CoordinateSpace, CoordinateSpace, PointF[]) TransformPoints(CoordinateSpace, CoordinateSpace, PointF[]) TransformPoints(CoordinateSpace, CoordinateSpace, PointF[])

使用此 Graphics 的当前世界变换和页变换,将点数组从一个坐标空间转换到另一个坐标空间。Transforms an array of points from one coordinate space to another using the current world and page transformations of this Graphics.

TransformPoints(CoordinateSpace, CoordinateSpace, Point[]) TransformPoints(CoordinateSpace, CoordinateSpace, Point[]) TransformPoints(CoordinateSpace, CoordinateSpace, Point[]) TransformPoints(CoordinateSpace, CoordinateSpace, Point[])

使用此 Graphics 的当前世界变换和页变换,将点数组从一个坐标空间转换到另一个坐标空间。Transforms an array of points from one coordinate space to another using the current world and page transformations of this Graphics.

TranslateClip(Int32, Int32) TranslateClip(Int32, Int32) TranslateClip(Int32, Int32) TranslateClip(Int32, Int32)

将此 Graphics 的剪辑区域沿水平方向和垂直方向平移指定的量。Translates the clipping region of this Graphics by specified amounts in the horizontal and vertical directions.

TranslateClip(Single, Single) TranslateClip(Single, Single) TranslateClip(Single, Single) TranslateClip(Single, Single)

将此 Graphics 的剪辑区域沿水平方向和垂直方向平移指定的量。Translates the clipping region of this Graphics by specified amounts in the horizontal and vertical directions.

TranslateTransform(Single, Single) TranslateTransform(Single, Single) TranslateTransform(Single, Single) TranslateTransform(Single, Single)

通过使此 Graphics 的变换矩阵左乘指定的平移来更改坐标系统的原点。Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.

TranslateTransform(Single, Single, MatrixOrder) TranslateTransform(Single, Single, MatrixOrder) TranslateTransform(Single, Single, MatrixOrder) TranslateTransform(Single, Single, MatrixOrder)

通过以指定顺序将指定平移应用于此 Graphics 的变换矩阵来更改坐标系统的原点。Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.

适用于

另请参阅