Class DoubleBufferSurface
Inheritance
System.Object
DoubleBufferSurface
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class DoubleBufferSurface : 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
Type |
---|
System.Boolean |
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
public void Dispose()
Render()
Declaration
public void Render()
Render(Graphics)
Declaration
public void Render(Graphics target)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | target |
ScrollWindow(Int32, Int32, Rectangle, Rectangle)
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