Click or drag to resize

OnPaintEventArgs Class

Version 130.1.90
Event arguments to the OnPaint event handler. Pixel values are scaled relative to view coordinates based on the value of ScreenInfo.DeviceScaleFactor returned from GetScreenInfo.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    CefSharp.OffScreenOnPaintEventArgs

Namespace: CefSharp.OffScreen
Assembly: CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public class OnPaintEventArgs : EventArgs

The OnPaintEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodOnPaintEventArgs Creates a new OnPaint event arg
Top
Properties
 NameDescription
Public propertyBufferHandle contains the pixel data for the whole image. Will be width * height * 4 bytes in size and represents a BGRA image with an upper-left origin
Public propertyDirtyRect Contains a rectangle in pixel coordinates that needs to be repainted.
Public propertyHandled Gets or sets a value indicating whether the event is handled.
Public propertyHeight Height
Public propertyIsPopup Indicates whether the element is the view or the popup widge
Public propertyWidth Width
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also