BitmapSurface MethodsAwesomium.NET 1.7.6Awesomium.NET

The BitmapSurface type exposes the following members.

Methods

  NameDescription
Public methodCopyTo
Copies this bitmap to a certain destination. This will also set IsDirty to false.
Public methodDispose
Perform cleanup of managed resources.
(Inherited from Surface.)
Protected methodFinalize (Inherited from NativeViewModel.)
Public methodGetAlphaAtPoint
Gets the opacity (0-255) of a certain point (in pixels).
Protected methodInitialize
Called when the size of the view has changed and the surface needs to be re-initialized.
(Overrides SurfaceInitialize(IWebView, Int32, Int32).)
Protected methodOnDispose
Called when an instance of this class is being disposed.
(Inherited from Surface.)
Protected methodOnInitialized
Triggers the Initialized event.
(Inherited from Surface.)
Protected methodOnPropertyChanged
Triggers the PropertyChanged event.
(Inherited from ViewModel.)
Protected methodOnResized
Triggers the Resized event.
(Inherited from Surface.)
Protected methodOnUpdated
Triggers the Updated event.
(Inherited from Surface.)
Protected methodPaint
This method is called whenever the IWebView instance this surface is assigned to, wants to paint a certain section of the Surface with a block of pixels. It is your responsibility to copy srcBuffer to the location in this Surface specified by destRect.
(Overrides SurfacePaint(IntPtr, Int32, AweRect, AweRect).)
Protected methodRaisePropertyChanged
Helper method to raise the PropertyChanged event.
(Inherited from ViewModel.)
Public methodSaveToJPEG(String)
Save this bitmap to a JPEG image on disk.
Public methodSaveToJPEG(String, Int32)
Save this bitmap to a JPEG image on disk.
Public methodSaveToPNG(String)
Save this bitmap to a PNG image on disk.
Public methodSaveToPNG(String, Boolean)
Save this bitmap to a PNG image on disk.
Protected methodScroll
This method is called whenever the IWebView instance this surface is assigned to, wants to 'scroll' an existing section of the Surface by a certain offset. It your responsibility to translate the pixels within the specified clipping rectangle (clipRect) by the specified offset.
(Overrides SurfaceScroll(Int32, Int32, AweRect).)
Top
See Also

Reference