zoukankan      html  css  js  c++  java
  • System.Drawing.Graphics 的 229个方法和18个属性

    封装一个 GDI+ 绘图图面。此类不能被继承。

    Graphics的方法

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

      绘制一段弧线,它表示由一对坐标、宽度和高度指定的椭圆部分。

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

      绘制一段弧线,它表示由一对坐标、宽度和高度指定的椭圆部分。

    • DrawArc(Pen, RectangleF, Single, Single)

      绘制一段弧线,它表示RectangleF 结构指定的椭圆的一部分。

    • DrawArc(Pen, Rectangle, Single, Single)

      绘制一段弧线,它表示Rectangle 结构指定的椭圆的一部分。

    • Dispose

      释放由Graphics 使用的所有资源。

    • CreateObjRef

      创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (继承自MarshalByRefObject。)

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

      执行颜色数据(对应于由像素组成的矩形)从屏幕到Graphics 的绘图图面的位块传输。

    • DrawClosedCurve(Pen,PointF[])

      绘制由PointF 结构的数组定义的闭合基数样条。

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

      执行颜色数据(对应于由像素组成的矩形)从屏幕到Graphics 的绘图图面的位块传输。

    • CopyFromScreen(Point, Point, Size, CopyPixelOperation)

      执行颜色数据(对应于由像素组成的矩形)从屏幕到Graphics 的绘图图面的位块传输。

    • CopyFromScreen(Point, Point, Size)

      执行颜色数据(对应于由像素组成的矩形)从屏幕到Graphics 的绘图图面的位块传输。

    • Clear

      清除整个绘图面并以指定背景色填充。

    • BeginContainer(RectangleF, RectangleF, GraphicsUnit)

      保存具有此Graphics 的当前状态的图形容器,然后打开并使用具有指定缩放变形的新图形容器。

    • BeginContainer(Rectangle, Rectangle, GraphicsUnit)

      保存具有此Graphics 的当前状态的图形容器,然后打开并使用具有指定缩放变形的新图形容器。

    • BeginContainer()

      保存具有此Graphics 的当前状态的图形容器,然后打开并使用新的图形容器。

    • AddMetafileComment

      向当前Metafile 添加注释。

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

      绘制由 4 个Point 结构定义的贝塞尔样条。

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

      绘制由 4 个PointF 结构定义的贝塞尔样条。

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

      绘制由四个表示点的有序坐标对定义的贝塞尔样条。

    • DrawBeziers(Pen,Point[])

      用Point 结构数组绘制一系列贝塞尔样条。

    • DrawBeziers(Pen,PointF[])

      用PointF 结构数组绘制一系列贝塞尔样条。

    • DrawClosedCurve(Pen,Point[])

      绘制由Point 结构的数组定义的闭合基数样条。

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

      使用指定的张力绘制由Point 结构数组定义的闭合基数样条。

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

      使用指定的张力绘制由PointF 结构数组定义的闭合基数样条。

    • DrawCurve(Pen,Point[])

      绘制经过一组指定的Point 结构的基数样条。

    • DrawCurve(Pen,PointF[])

      绘制经过一组指定的PointF 结构的基数样条。

    • DrawCurve(Pen,Point[], Single)

      使用指定的张力绘制经过一组指定的Point 结构的基数样条。

    • DrawCurve(Pen,PointF[], Single)

      使用指定的张力绘制经过一组指定的PointF 结构的基数样条。

    • DrawEllipse(Pen, Rectangle)

      绘制边界Rectangle 结构指定的椭圆。

    • DrawEllipse(Pen, RectangleF)

      绘制边界RectangleF 定义的椭圆。

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

      绘制一个由边框定义的椭圆,该边框由矩形的左上角坐标、高度和宽度指定。

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

      绘制一个由边框(该边框由一对坐标、高度和宽度指定)定义的椭圆。

    • DrawIcon(Icon, Rectangle)

      在Rectangle 结构指定的区域内绘制指定的Icon 表示的图像。

    • DrawIcon(Icon, Int32, Int32)

      在指定坐标处绘制由指定的Icon 表示的图像。

    • DrawIconUnstretched

      绘制指定的Icon 表示的图像,而不缩放该图像。

    • DrawImage(Image, Point)

      在指定的位置使用原始物理大小绘制指定的Image。

    • DrawImage(Image,Point[])

      在指定位置并且按指定形状和大小绘制指定的Image。

    • DrawImage(Image, PointF)

      在指定的位置使用原始物理大小绘制指定的Image。

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

      绘制经过一组指定的PointF 结构的基数样条。从相对于数组开始位置的偏移量开始绘制。

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

      使用指定的张力绘制经过一组指定的Point 结构的基数样条。

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

      使用指定的张力绘制经过一组指定的PointF 结构的基数样条。从相对于数组开始位置的偏移量开始绘制。

    • DrawImage(Image, RectangleF)

      在指定位置并且按指定大小绘制指定的Image。

    • DrawImage(Image, Int32, Int32)

      在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。

    • DrawImage(Image, Single, Single)

      在指定的位置使用原始物理大小绘制指定的Image。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

    • DrawImage(Image,PointF[])

      在指定位置并且按指定形状和大小绘制指定的Image。

    • DrawImage(Image, Rectangle)

      在指定位置并且按指定大小绘制指定的Image。

    • DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

    • DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定的位置绘制图像的一部分。

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

      在指定位置并且按指定大小绘制指定的Image。

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

      在指定的位置绘制图像的一部分。

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

      在指定位置并且按指定大小绘制指定的Image。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      绘制一条连接由坐标对指定的两个点的线条。

    • DrawLines(Pen,Point[])

      绘制一系列连接一组Point 结构的线段。

    • DrawLines(Pen,PointF[])

      绘制一系列连接一组PointF 结构的线段。

    • DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort)

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

    • DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort)

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

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

      在指定位置并且按指定大小绘制指定的Image 的指定部分。

    • DrawImageUnscaled(Image, Point)

      在指定的位置使用图像的原始物理大小绘制指定的图像。

    • DrawRectangle(Pen, Rectangle)

      绘制由Rectangle 结构指定的矩形。

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

      在指定的位置使用图像的原始物理大小绘制指定的图像。

    • DrawImageUnscaledAndClipped

      在不进行缩放的情况下绘制指定的图像,并在需要时剪辑该图像以适合指定的矩形。

    • DrawLine(Pen, Point, Point)

      绘制一条连接两个Point 结构的线。

    • DrawLine(Pen, PointF, PointF)

      绘制一条连接两个PointF 结构的线。

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

      绘制一条连接由坐标对指定的两个点的线条。

    • DrawPath

      绘制GraphicsPath。

    • DrawPie(Pen, Rectangle, Single, Single)

      绘制由一个Rectangle 结构和两条射线所指定的椭圆定义的扇形。

    • DrawPie(Pen, RectangleF, Single, Single)

      绘制由一个RectangleF 结构和两条射线所指定的椭圆定义的扇形。

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

      绘制一个扇形,该形状由一个坐标对、宽度、高度以及两条射线所指定的椭圆定义。

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

      绘制一个扇形,该形状由一个坐标对、宽度、高度以及两条射线所指定的椭圆定义。

    • DrawPolygon(Pen,Point[])

      绘制由一组Point 结构定义的多边形。

    • DrawPolygon(Pen,PointF[])

      绘制由一组PointF 结构定义的多边形。

    • DrawImageUnscaled(Image, Rectangle)

      在指定的位置使用图像的原始物理大小绘制指定的图像。

    • DrawImageUnscaled(Image, Int32, Int32)

      在由坐标对指定的位置,使用图像的原始物理大小绘制指定的图像。

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

      绘制由坐标对、宽度和高度指定的矩形。

    • DrawRectangles(Pen,Rectangle[])

      绘制一系列由Rectangle 结构指定的矩形。

    • DrawRectangles(Pen,RectangleF[])

      绘制一系列由RectangleF 结构指定的矩形。

    • DrawString(String, Font, Brush, PointF)

      在指定位置并且用指定的Brush 和Font 对象绘制指定的文本字符串。

    • DrawString(String, Font, Brush, RectangleF)

      在指定矩形并且用指定的Brush 和Font 对象绘制指定的文本字符串。

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

      使用指定StringFormat 的格式化属性,用指定的Brush 和Font 对象在指定的位置绘制指定的文本字符串。

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

      使用指定StringFormat 的格式化属性,用指定的Brush 和Font 对象在指定的矩形绘制指定的文本字符串。

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

      在指定位置并且用指定的Brush 和Font 对象绘制指定的文本字符串。

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

      绘制由坐标对、宽度和高度指定的矩形。

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

      使用指定StringFormat 的格式化属性,用指定的Brush 和Font 对象在指定的位置绘制指定的文本字符串。

    • EndContainer

      关闭当前图形容器,并将此Graphics 的状态还原到通过调用BeginContainer 方法保存的状态。

    • EnumerateMetafile(Metafile, Point, Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile,Point[], Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, PointF, Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile, Rectangle, Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, RectangleF, Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, Point, Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile,Point[], Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, PointF, Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile,PointF[], Graphics.EnumerateMetafileProc)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile,PointF[], Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, Rectangle, Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, RectangleF, Graphics.EnumerateMetafileProc, IntPtr)

      将指定Metafile 中的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。

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

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像属性显示。

    • EnumerateMetafile(Metafile, Point, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的点处用指定的图像属性显示。

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

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像属性显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, Rectangle, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的矩形中用指定的图像属性显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, PointF, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的点处用指定的图像属性显示。

    • EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, RectangleF, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将指定Metafile 中的记录逐个发送到回调方法,以在指定的矩形中用指定的图像属性显示。

    • EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的点处显示。

    • EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的点处用指定的图像属性显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像属性显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的点处用指定的图像属性显示。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的平行四边形中显示。

    • EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。

    • EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)

      将Metafile 中选定矩形内的记录逐个发送到回调方法以在指定的矩形中显示。

    • Equals(Object)

      确定指定的Object 是否等于当前的Object。(继承自Object。)

    • ExcludeClip(Rectangle)

      更新此Graphics 的剪辑区域,以排除Rectangle 结构所指定的区域。

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

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的平行四边形中用指定的图像属性显示。

    • EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的矩形中用指定的图像属性显示。

    • EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, ImageAttributes)

      将Metafile 中选定矩形内的记录逐个发送到回调方法,以在指定的矩形中用指定的图像属性显示。

    • FillClosedCurve(Brush,PointF[], FillMode)

      使用指定的填充模式填充PointF 结构数组定义的闭合基数样条曲线的内部。

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

      使用指定的填充模式和张力填充Point 结构数组定义的闭合基数样条曲线的内部。

    • ExcludeClip(Region)

      更新此Graphics 的剪辑区域,以排除Region 所指定的区域。

    • FillClosedCurve(Brush,Point[])

      填充由Point 结构数组定义的闭合基数样条曲线的内部。

    • FillClosedCurve(Brush,PointF[])

      填充由PointF 结构数组定义的闭合基数样条曲线的内部。

    • FillClosedCurve(Brush,Point[], FillMode)

      使用指定的填充模式填充Point 结构数组定义的闭合基数样条曲线的内部。

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

      使用指定的填充模式和张力填充PointF 结构数组定义的闭合基数样条曲线的内部。

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

      填充边框所定义的椭圆的内部,该边框由一对坐标、一个宽度和一个高度指定。

    • FillPath

      填充GraphicsPath 的内部。

    • FillEllipse(Brush, Rectangle)

      填充Rectangle 结构指定的边框所定义的椭圆的内部。

    • FillEllipse(Brush, RectangleF)

      填充RectangleF 结构指定的边框所定义的椭圆的内部。

    • FillPie(Brush, Rectangle, Single, Single)

      填充椭圆所定义的扇形区的内部,该椭圆由RectangleF 结构和两条射线指定。

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

      填充由一对坐标、一个宽度、一个高度以及两条射线指定的椭圆所定义的扇形区的内部。

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

      填充边框所定义的椭圆的内部,该边框由一对坐标、一个宽度和一个高度指定。

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

      填充由一对坐标、一个宽度、一个高度以及两条射线指定的椭圆所定义的扇形区的内部。

    • FillPolygon(Brush,Point[])

      填充Point 结构指定的点数组所定义的多边形的内部。

    • FillPolygon(Brush,PointF[])

      填充PointF 结构指定的点数组所定义的多边形的内部。

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

      填充由一对坐标、一个宽度和一个高度指定的矩形的内部。

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

      填充由一对坐标、一个宽度和一个高度指定的矩形的内部。

    • FillPolygon(Brush,Point[], FillMode)

      使用指定的填充模式填充Point 结构指定的点数组所定义的多边形的内部。

    • FillPolygon(Brush,PointF[], FillMode)

      使用指定的填充模式填充PointF 结构指定的点数组所定义的多边形的内部。

    • GetContextInfo

      基础结构。获取累积的图形上下文。

    • GetHalftonePalette

      获取当前 Windows 的半色调调色板的句柄。

    • GetHashCode

      用作特定类型的哈希函数。 (继承自Object。)

    • FillRectangle(Brush, Rectangle)

      填充Rectangle 结构指定的矩形的内部。

    • FillRectangle(Brush, RectangleF)

      填充RectangleF 结构指定的矩形的内部。

    • FromHdc(IntPtr, IntPtr)

      从设备上下文的指定句柄和设备的句柄创建新的Graphics。

    • FromHdcInternal

      基础结构。返回指定设备上下文的Graphics。

    • FromHwnd

      从窗口的指定句柄创建新的Graphics。

    • FromHwndInternal

      基础结构。创建指定 Windows 句柄的新Graphics。

    • FillRectangles(Brush,Rectangle[])

      填充由Rectangle 结构指定的一系列矩形的内部。

    • FromImage

      从指定的Image 创建新的Graphics。

    • FillRectangles(Brush,RectangleF[])

      填充由RectangleF 结构指定的一系列矩形的内部。

    • FillRegion

      填充Region 的内部。

    • Finalize

      允许Object 在“垃圾回收”回收Object 之前尝试释放资源并执行其他清理操作。(继承自Object。)

    • Flush()

      强制执行所有挂起的图形操作并立即返回而不等待操作完成。

    • Flush(FlushIntention)

      用此方法强制执行所有挂起的图形操作,按照指定,等待或者不等待,在操作完成之前返回。

    • FromHdc(IntPtr)

      从设备上下文的指定句柄创建新的Graphics。

    • GetType

      获取当前实例的Type。(继承自Object。)

    • InitializeLifetimeService

      获取控制此实例的生存期策略的生存期服务对象。 (继承自MarshalByRefObject。)

    • IntersectClip(Rectangle)

      将此Graphics 的剪辑区域更新为当前剪辑区域与指定Rectangle 结构的交集。

    • IntersectClip(RectangleF)

      将此Graphics 的剪辑区域更新为当前剪辑区域与指定RectangleF 结构的交集。

    • IntersectClip(Region)

      将此Graphics 对象的剪辑区域更新为当前剪辑区域与指定Region 的交集。

    • IsVisible(Point)

      指示指定的Point 结构是否包含在此Graphics 的可见剪辑区域内。

    • GetHdc

      获取与此Graphics 关联的设备上下文的句柄。

    • GetLifetimeService

      检索控制此实例的生存期策略的当前生存期服务对象。 (继承自MarshalByRefObject。)

    • IsVisible(PointF)

      指示指定的PointF 结构是否包含在此Graphics 的可见剪辑区域内。

    • GetNearestColor

      获取与指定的Color 结构最接近的颜色。

    • IsVisible(Single, Single, Single, Single)

      指示由一对坐标、一个宽度和一个高度指定的矩形是否包含在此Graphics 的可见剪辑区域内。

    • MeasureCharacterRanges

      获取Region 对象的数组,其中每个对象将字符位置的范围限定在指定字符串内。

    • MeasureString(String, Font)

      测量用指定的Font 绘制的指定字符串。

    • MeasureString(String, Font, SizeF)

      当在指定的布局区域内以指定的Font 绘制时,测量指定的字符串。

    • MeasureString(String, Font, Int32)

      测量用指定的Font 绘制的指定字符串。

    • MeasureString(String, Font, PointF, StringFormat)

      测量用指定的Font 绘制并用指定的StringFormat 格式化的指定字符串。

    • IsVisible(Rectangle)

      指示Rectangle 结构指定的矩形是否包含在此Graphics 的可见剪辑区域内。

    • IsVisible(RectangleF)

      指示RectangleF 结构指定的矩形是否包含在此Graphics 的可见剪辑区域内。

    • IsVisible(Int32, Int32)

      指示由一对坐标指定的点是否包含在此Graphics 的可见剪辑区域内。

    • IsVisible(Single, Single)

      指示由一对坐标指定的点是否包含在此Graphics 的可见剪辑区域内。

    • IsVisible(Int32, Int32, Int32, Int32)

      指示由一对坐标、一个宽度和一个高度指定的矩形是否包含在此Graphics 的可见剪辑区域内。

    • MeasureString(String, Font, SizeF, StringFormat)

      测量用指定的Font 绘制并用指定的StringFormat 格式化的指定字符串。

    • MeasureString(String, Font, Int32, StringFormat)

      测量用指定的Font 绘制并用指定的StringFormat 格式化的指定字符串。

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

      测量用指定的Font 绘制并用指定的StringFormat 格式化的指定字符串。

    • MemberwiseClone

      创建当前Object 的浅表副本。(继承自Object。)

    • MemberwiseClone(Boolean)

      创建当前MarshalByRefObject 对象的浅表副本。(继承自MarshalByRefObject。)

    • MultiplyTransform(Matrix)

      将此Graphics 的世界变换乘以指定的Matrix。

    • MultiplyTransform(Matrix, MatrixOrder)

      以指定顺序将此Graphics 的世界变换乘以指定的Matrix。

    • ReleaseHdc()

      释放通过以前对此Graphics 的GetHdc 方法的调用获得的设备上下文句柄。

    • SetClip(GraphicsPath)

      将此Graphics 的剪辑区域设置为指定的GraphicsPath。

    • SetClip(Rectangle)

      将此Graphics 的剪辑区域设置为Rectangle 结构指定的矩形。

    • SetClip(RectangleF)

      将此Graphics 的剪辑区域设置为RectangleF 结构指定的矩形。

    • SetClip(Graphics, CombineMode)

      将此Graphics 的剪辑区域设置为当前剪辑区域和指定的Graphics 的Clip 属性指定的组合操作的结果。

    • ReleaseHdc(IntPtr)

      释放通过以前对此Graphics 的GetHdc 方法的调用获得的设备上下文句柄。

    • ReleaseHdcInternal

      基础结构。释放设备上下文的句柄。

    • Save

      保存此Graphics 的当前状态,并用GraphicsState 标识保存的状态。

    • ScaleTransform(Single, Single)

      将指定的缩放操作应用于此Graphics 的变换矩阵,方法是将该对象的变换矩阵左乘该缩放矩阵。

    • ScaleTransform(Single, Single, MatrixOrder)

      以指定顺序将指定的缩放操作应用到此Graphics 的变换矩阵。

    • ResetClip

      将此Graphics 的剪辑区域重置为无限区域。

    • ResetTransform

      将此Graphics 的世界变换矩阵重置为单位矩阵。

    • Restore

      将此Graphics 的状态还原到GraphicsState 表示的状态。

    • RotateTransform(Single)

      将指定旋转应用于此Graphics 的变换矩阵。

    • RotateTransform(Single, MatrixOrder)

      以指定顺序将指定旋转应用到此Graphics 的变换矩阵。

    • SetClip(Graphics)

      将此Graphics 的剪辑区域设置为指定Graphics 的Clip 属性。

    • SetClip(GraphicsPath, CombineMode)

      将此Graphics 的剪辑区域设置为当前剪辑区域与指定GraphicsPath 的组合结果。

    • SetClip(Rectangle, CombineMode)

      将此Graphics 的剪辑区域设置为当前剪辑区域与Rectangle 结构所指定矩形的组合结果。

    • SetClip(RectangleF, CombineMode)

      将此Graphics 的剪辑区域设置为当前剪辑区域与RectangleF 结构所指定矩形的组合结果。

    • SetClip(Region, CombineMode)

      将此Graphics 的剪辑区域设置为当前剪辑区域与指定Region 的组合结果。

    • ToString

      返回表示当前Object 的String。(继承自Object。)

    • TransformPoints(CoordinateSpace, CoordinateSpace,Point[])

      使用此Graphics 的当前世界变换和页变换,将点数组从一个坐标空间转换到另一个坐标空间。

    • TransformPoints(CoordinateSpace, CoordinateSpace,PointF[])

      使用此Graphics 的当前世界变换和页变换,将点数组从一个坐标空间转换到另一个坐标空间。

    • TranslateClip(Int32, Int32)

      将此Graphics 的剪辑区域沿水平方向和垂直方向平移指定的量。

    • TranslateClip(Single, Single)

      将此Graphics 的剪辑区域沿水平方向和垂直方向平移指定的量。

    • TranslateTransform(Single, Single)

      通过使此Graphics 的变换矩阵左乘指定的平移来更改坐标系统的原点。

    • TranslateTransform(Single, Single, MatrixOrder)

      通过以指定顺序将指定平移应用于此Graphics 的变换矩阵来更改坐标系统的原点。

    Graphics的属性

    • DpiX

      获取此Graphics 的水平分辨率。

    • Clip

      获取或设置Region,该对象限定此Graphics 的绘图区域。

    • ClipBounds

      获取一个RectangleF 结构,该结构限定此Graphics 的剪辑区域。

    • CompositingMode

      获取一个值,该值指定如何将合成图像绘制到此Graphics。

    • CompositingQuality

      获取或设置绘制到此Graphics 的合成图像的呈现质量。

    • DpiY

      获取此Graphics 的垂直分辨率。

    • InterpolationMode

      获取或设置与此Graphics 关联的插补模式。

    • IsClipEmpty

      获取一个值,该值指示此Graphics 的剪辑区域是否为空。

    • IsVisibleClipEmpty

      获取一个值,该值指示此Graphics 的可见剪辑区域是否为空。

    • PageScale

      获取或设置此Graphics 的世界单位和页单位之间的比例。

    • PageUnit

      获取或设置用于此Graphics 中的页坐标的度量单位。

    • PixelOffsetMode

      获取或设置一个值,该值指定在呈现此Graphics 的过程中像素如何偏移。

    • TextContrast

      获取或设置呈现文本的灰度校正值。

    • RenderingOrigin

      为抵色处理和阴影画笔获取或设置此Graphics 的呈现原点。

    • SmoothingMode

      获取或设置此Graphics 的呈现质量。

    • TextRenderingHint

      获取或设置与此Graphics 关联的文本的呈现模式。

    • Transform

      获取或设置此Graphics 的几何世界变换的副本。

    • VisibleClipBounds

      获取此Graphics 的可见剪辑区域的边框

  • 相关阅读:
    iOS_UIImage的方向(imageOrientation)
    iOS-LaunchImage启动页
    iOS_UIImage_毛玻璃效果
    iOS_常用C语言函数
    iOS_UIImage_Gif的合成
    iOS_UIImage_Gif的分解
    iOS_UIImge_Gif的展示
    iOS_UIImage_jpg<-->png转换
    Mysql学习第三天
    Mysql学习第二天
  • 原文地址:https://www.cnblogs.com/ImNo1/p/4619156.html
Copyright © 2011-2022 走看看