<PackageReference Include="System.Drawing.Common" Version="9.0.6" />

Graphics

Encapsulates a GDI+ drawing surface. This class cannot be inherited.
using System.ComponentModel; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using System.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System.Drawing { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class Graphics : MarshalByRefObject, IDeviceContext, IDisposable { [System.Runtime.CompilerServices.NullableContext(0)] public delegate bool DrawImageAbort (IntPtr callbackdata); [System.Runtime.CompilerServices.NullableContext(0)] public delegate bool EnumerateMetafileProc (EmfPlusRecordType recordType, int flags, int dataSize, IntPtr data, PlayRecordCallback callbackData); public Region Clip { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public RectangleF ClipBounds { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public CompositingMode CompositingMode { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public CompositingQuality CompositingQuality { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public float DpiX { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public float DpiY { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public InterpolationMode InterpolationMode { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public bool IsClipEmpty { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public bool IsVisibleClipEmpty { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public float PageScale { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public GraphicsUnit PageUnit { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public PixelOffsetMode PixelOffsetMode { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public Point RenderingOrigin { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public SmoothingMode SmoothingMode { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public int TextContrast { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public TextRenderingHint TextRenderingHint { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public Matrix Transform { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public RectangleF VisibleClipBounds { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } internal Graphics() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void AddMetafileComment(byte[] data) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public GraphicsContainer BeginContainer() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public GraphicsContainer BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public GraphicsContainer BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Clear(Color color) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, CopyPixelOperation copyPixelOperation) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Dispose() { } public void DrawArc(Pen pen, Rectangle rect, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawArc(Pen pen, RectangleF rect, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawArc(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawArc(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawBezier(Pen pen, Point pt1, Point pt2, Point pt3, Point pt4) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawBezier(Pen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawBezier(Pen pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawBeziers(Pen pen, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawBeziers(Pen pen, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawClosedCurve(Pen pen, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawClosedCurve(Pen pen, PointF[] points, float tension, FillMode fillmode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawClosedCurve(Pen pen, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawClosedCurve(Pen pen, Point[] points, float tension, FillMode fillmode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, PointF[] points, int offset, int numberOfSegments) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, PointF[] points, int offset, int numberOfSegments, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, PointF[] points, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, Point[] points, int offset, int numberOfSegments, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawCurve(Pen pen, Point[] points, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawEllipse(Pen pen, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawEllipse(Pen pen, RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawEllipse(Pen pen, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawEllipse(Pen pen, float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawIcon(Icon icon, Rectangle targetRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawIcon(Icon icon, int x, int y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawIconUnstretched(Icon icon, Rectangle targetRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF[] destPoints) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr, [System.Runtime.CompilerServices.Nullable(2)] DrawImageAbort callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr, [System.Runtime.CompilerServices.Nullable(2)] DrawImageAbort callback, int callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point[] destPoints) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr, [System.Runtime.CompilerServices.Nullable(2)] DrawImageAbort callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr, [System.Runtime.CompilerServices.Nullable(2)] DrawImageAbort callback, int callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public void DrawImage([System.Runtime.CompilerServices.Nullable(1)] Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public void DrawImage([System.Runtime.CompilerServices.Nullable(1)] Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttrs) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public void DrawImage([System.Runtime.CompilerServices.Nullable(1)] Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public void DrawImage([System.Runtime.CompilerServices.Nullable(1)] Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, int x, int y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, int x, int y, Rectangle srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, float x, float y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, float x, float y, RectangleF srcRect, GraphicsUnit srcUnit) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImage(Image image, float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImageUnscaled(Image image, Point point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImageUnscaled(Image image, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImageUnscaled(Image image, int x, int y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImageUnscaled(Image image, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawImageUnscaledAndClipped(Image image, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLine(Pen pen, Point pt1, Point pt2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLine(Pen pen, PointF pt1, PointF pt2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLine(Pen pen, int x1, int y1, int x2, int y2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLine(Pen pen, float x1, float y1, float x2, float y2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLines(Pen pen, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawLines(Pen pen, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPath(Pen pen, GraphicsPath path) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPie(Pen pen, Rectangle rect, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPie(Pen pen, RectangleF rect, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPie(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPie(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPolygon(Pen pen, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawPolygon(Pen pen, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawRectangle(Pen pen, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawRectangle(Pen pen, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawRectangle(Pen pen, float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawRectangles(Pen pen, RectangleF[] rects) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawRectangles(Pen pen, Rectangle[] rects) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, PointF point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, PointF point, [System.Runtime.CompilerServices.Nullable(2)] StringFormat format) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, RectangleF layoutRectangle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, RectangleF layoutRectangle, [System.Runtime.CompilerServices.Nullable(2)] StringFormat format) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, float x, float y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void DrawString([System.Runtime.CompilerServices.Nullable(2)] string s, Font font, Brush brush, float x, float y, [System.Runtime.CompilerServices.Nullable(2)] StringFormat format) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EndContainer(GraphicsContainer container) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ExcludeClip(Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ExcludeClip(Region region) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode, float tension) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillEllipse(Brush brush, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillEllipse(Brush brush, RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillEllipse(Brush brush, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillEllipse(Brush brush, float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPath(Brush brush, GraphicsPath path) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPie(Brush brush, Rectangle rect, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPie(Brush brush, int x, int y, int width, int height, int startAngle, int sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPie(Brush brush, float x, float y, float width, float height, float startAngle, float sweepAngle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPolygon(Brush brush, PointF[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPolygon(Brush brush, PointF[] points, FillMode fillMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPolygon(Brush brush, Point[] points) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillPolygon(Brush brush, Point[] points, FillMode fillMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangle(Brush brush, Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangle(Brush brush, RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangle(Brush brush, int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangle(Brush brush, float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangles(Brush brush, RectangleF[] rects) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRectangles(Brush brush, Rectangle[] rects) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void FillRegion(Brush brush, Region region) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } ~Graphics() { } public void Flush() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Flush(FlushIntention intention) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public static Graphics FromHdc(IntPtr hdc) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public static Graphics FromHdc(IntPtr hdc, IntPtr hdevice) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public static Graphics FromHdcInternal(IntPtr hdc) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public static Graphics FromHwnd(IntPtr hwnd) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public static Graphics FromHwndInternal(IntPtr hwnd) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static Graphics FromImage(Image image) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.Versioning.SupportedOSPlatform("windows")] public object GetContextInfo() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static IntPtr GetHalftonePalette() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public IntPtr GetHdc() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public Color GetNearestColor(Color color) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void IntersectClip(Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void IntersectClip(RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void IntersectClip(Region region) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(Point point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(PointF point) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(int x, int y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(int x, int y, int width, int height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(float x, float y) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool IsVisible(float x, float y, float width, float height) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public Region[] MeasureCharacterRanges([System.Runtime.CompilerServices.Nullable(2)] string text, Font font, RectangleF layoutRect, [System.Runtime.CompilerServices.Nullable(2)] StringFormat stringFormat) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public SizeF MeasureString([System.Runtime.CompilerServices.Nullable(2)] string text, Font font) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public SizeF MeasureString(string text, [System.Runtime.CompilerServices.Nullable(1)] Font font, PointF origin, StringFormat stringFormat) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public SizeF MeasureString([System.Runtime.CompilerServices.Nullable(2)] string text, Font font, SizeF layoutArea) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public SizeF MeasureString(string text, [System.Runtime.CompilerServices.Nullable(1)] Font font, SizeF layoutArea, StringFormat stringFormat) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public SizeF MeasureString(string text, [System.Runtime.CompilerServices.Nullable(1)] Font font, SizeF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public SizeF MeasureString([System.Runtime.CompilerServices.Nullable(2)] string text, Font font, int width) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public SizeF MeasureString(string text, [System.Runtime.CompilerServices.Nullable(1)] Font font, int width, StringFormat format) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void MultiplyTransform(Matrix matrix) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void MultiplyTransform(Matrix matrix, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ReleaseHdc() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Advanced)] public void ReleaseHdc(IntPtr hdc) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [EditorBrowsable(EditorBrowsableState.Never)] public void ReleaseHdcInternal(IntPtr hdc) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ResetClip() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ResetTransform() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Restore(GraphicsState gstate) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void RotateTransform(float angle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void RotateTransform(float angle, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public GraphicsState Save() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ScaleTransform(float sx, float sy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ScaleTransform(float sx, float sy, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(GraphicsPath path) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(GraphicsPath path, CombineMode combineMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(Graphics g) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(Graphics g, CombineMode combineMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(Rectangle rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(Rectangle rect, CombineMode combineMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(RectangleF rect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(RectangleF rect, CombineMode combineMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetClip(Region region, CombineMode combineMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, PointF[] pts) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, Point[] pts) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateClip(int dx, int dy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateClip(float dx, float dy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateTransform(float dx, float dy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateTransform(float dx, float dy, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }