API Reference
Class
OfficeRasterRenderTarget
Supersampled RGBA render target used by dependency-free raster renderers.
Inheritance
- Object
- OfficeRasterRenderTarget
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
- Constructor OfficeRasterCanvas.OfficeRasterCanvas
Constructors
public OfficeRasterRenderTarget(Int32 width, Int32 height, Int32 supersampling = 1, OfficeColor? background = null) #Creates a render target with an optional supersampling factor.
Parameters
- width System.Int32
- height System.Int32
- supersampling System.Int32 = 1
- background OfficeIMO.Drawing.OfficeColor? = null
Methods
public Void BlendPixel(Int32 x, Int32 y, OfficeColor color) #Returns:
VoidAlpha blends a render-buffer pixel over the current pixel.
Parameters
- x System.Int32
- y System.Int32
- color OfficeIMO.Drawing.OfficeColor
public Void Fill(OfficeColor color) #Returns:
VoidFills the internal render buffer.
Parameters
- color OfficeIMO.Drawing.OfficeColor
public OfficeColor GetPixel(Int32 x, Int32 y) #Returns:
OfficeColorGets a render-buffer pixel.
Parameters
- x System.Int32
- y System.Int32
public Void SetPixel(Int32 x, Int32 y, OfficeColor color) #Returns:
VoidSets a render-buffer pixel without alpha blending.
Parameters
- x System.Int32
- y System.Int32
- color OfficeIMO.Drawing.OfficeColor
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?