MetafileRecorderGraphics2D Methods

The MetafileRecorderGraphics2D type exposes the following members.

Methods
  NameDescription
Public methodClear
Clears the state of the graphics object
Public methodCode exampleDrawArc
Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
Public methodCode exampleDrawCubicBezier
Draws the cubic bezier.
Public methodDrawEllipse
Draws the ellipse.
Public methodDrawImage(RasterImage, Point)
Draws the specified Image, using its original physical size, at the specified location.
Public methodDrawImage(Byte, Rectangle, GraphicsUnit)
Draws the image.
Public methodCode exampleDrawImage(RasterImage, Rectangle, Rectangle, GraphicsUnit)
Draws the specified portion of the specified Image at the specified location and with the specified size.
Public methodDrawLine(Pen, Point, Point)
Draws the line.
Public methodCode exampleDrawLine(Pen, Int32, Int32, Int32, Int32)
Draws the line.
Public methodCode exampleDrawPath
Draws the path.
Public methodDrawPie
Draws the pie.
Public methodDrawPolyCubicBezier
Draws the poly cubic bezier.
Public methodDrawPolygon
Draws the polygon.
Public methodDrawPolyline
Draws the polyline.
Public methodDrawRectangle(Pen, Rectangle)
Draws the rectangle.
Public methodCode exampleDrawRectangle(Pen, Int32, Int32, Int32, Int32)
Draws the rectangle.
Public methodCode exampleDrawString(String, Font, Color, Int32, Int32)
Draws the string.
Public methodDrawString(String, Font, Color, Int32, Int32, Single)
Draws the string.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExcludeClip(Rectangle)
Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure.
Public methodExcludeClip(Region)
Updates the clip region of this Graphics to exclude the area specified by a Region.
Public methodFillEllipse
Fills the ellipse.
Public methodCode exampleFillPath
Fills the path.
Public methodCode exampleFillPie
Fills the pie.
Public methodFillPolygon(Brush, Point)
Fills the polygon.
Public methodFillPolygon(Brush, Point, FillMode)
Fills the polygon.
Public methodCode exampleFillRectangle
Fills the rectangle.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTransform
Gets the world transform.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIntersectClip(RectangleF)
Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure.
Public methodIntersectClip(Region)
Updates the clip region of this Graphics to the intersection of the current clip region and the specified Region.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMultiplyTransform(Matrix)
Multiplies the world transformation of this Graphics and specified the Matrix.
Public methodMultiplyTransform(Matrix, MatrixOrder)
Multiplies the world transformation of this Graphics and specified the Matrix in the specified order.
Public methodResetClip
Resets the clip.
Public methodRotateTransform(Single)
Applies the specified rotation to the transformation matrix of this Graphics.
Public methodRotateTransform(Single, PointF, MatrixOrder)
Applies the specified rotation to the transformation matrix of this Graphics in the specified order.
Public methodScaleTransform(Single, Single)
Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix.
Public methodScaleTransform(Single, Single, MatrixOrder)
Applies the specified scaling operation to the transformation matrix of this Graphics in the specified order.
Public methodCode exampleSetTransform
Sets the transform.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslateTransform(Single, Single)
Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.
Public methodTranslateTransform(Single, Single, MatrixOrder)
Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.
See Also