Class DoubleBufferSurface
Inheritance
System.Object
DoubleBufferSurface
Implements
System.IDisposable
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class DoubleBufferSurface : Object, IDisposable
Constructors
DoubleBufferSurface(Graphics, Rectangle)
Declaration
public DoubleBufferSurface(Graphics targetGraphics, Rectangle targetRectangle)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
targetGraphics |
|
| System.Drawing.Rectangle |
targetRectangle |
|
Properties
Dirty
Declaration
public bool Dirty { get; set; }
Property Value
Graphics
Declaration
public Graphics Graphics { get; }
Property Value
| Type |
| System.Drawing.Graphics |
Methods
CreateDrawingSurfaceBitmap()
Declaration
public Bitmap CreateDrawingSurfaceBitmap()
Returns
| Type |
| System.Drawing.Bitmap |
Dispose()
Declaration
Render()
Declaration
Render(Graphics)
Declaration
public void Render(Graphics target)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
target |
|
Declaration
public Rectangle ScrollWindow(int xAmount, int yAmount, Rectangle rect, Rectangle clipRect)
Parameters
| Type |
Name |
Description |
| System.Int32 |
xAmount |
|
| System.Int32 |
yAmount |
|
| System.Drawing.Rectangle |
rect |
|
| System.Drawing.Rectangle |
clipRect |
|
Returns
| Type |
| System.Drawing.Rectangle |
SetTargetGraphics(Graphics)
Declaration
public void SetTargetGraphics(Graphics g)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
Implements
System.IDisposable