PDFGray8StripRenderingSurface¶
Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces
Defines a Gray8 strip based rendering surface
public class PDFGray8StripRenderingSurface : PDFStripRenderingSurface`1, O2S.Components.PDF4NET.Content.IImageDataProvider, IMaskRenderingSurface
Inheritance Object → PDFRenderingSurface → PDFStripRenderingSurface<Byte> → PDFGray8StripRenderingSurface
Implements IImageDataProvider, IMaskRenderingSurface
Fields¶
Constructors¶
PDFGray8StripRenderingSurface(Int32, Int32)¶
Initializes a new PDFGray8StripRenderingSurface object.
Parameters
width Int32
Surface width.
height Int32
Surface height.
PDFGray8StripRenderingSurface()¶
Initializes a new PDFGray8StripRenderingSurface object with an empty storage.
Properties¶
Bitmap¶
Gets the surface storage.
Property Value
Byte[][]
Array that stores the page image in ARGB format.
Height¶
Gets or sets the surface height.
Property Value
Int32
The height of the surface in pixels.
Width¶
Gets the surface width.
Property Value
Int32
The width of the surface in pixels.
Methods¶
Adjust(Byte)¶
This method supports the internal library infrastructure.
Parameters
alpha Byte
ApplyTransferFunction(PDFFunction)¶
This method supports the internal library infrastructure.
Parameters
transferFunction PDFFunction
Expand(BoundingBox)¶
This method supports the internal library infrastructure.
Parameters
expandBounds BoundingBox
Returns
GetIndexForPixel(Int32, Int32, Int32, Int32, Int32)¶
This method supports the internal library infrastructure.
Parameters
x Int32
y Int32
xOrigin Int32
yOrigin Int32
width Int32
Returns
GetMaskLine(Int32, Int32)¶
This method supports the internal library infrastructure.
Parameters
y Int32
yOrigin Int32
Returns
GetMaskRenderer()¶
Returns
Merge(IMaskRenderingSurface, BoundingBox)¶
This method supports the internal library infrastructure.
Parameters
topMask IMaskRenderingSurface
mergeBounds BoundingBox
Returns
Merge(IMaskRenderingSurface, IMaskRenderingSurface, BoundingBox)¶
This method supports the internal library infrastructure.
public IMaskRenderingSurface Merge(IMaskRenderingSurface _topMask, IMaskRenderingSurface _mergedMask, BoundingBox mergeBounds)
Parameters
_topMask IMaskRenderingSurface
_mergedMask IMaskRenderingSurface
mergeBounds BoundingBox
Returns
SetColorForOpaquePixels(Int32)¶
Adjusts the surface transparency with the new alpha.
Parameters
argb Int32
Union(IMaskRenderingSurface, IMaskRenderingSurface)¶
This method supports the internal library infrastructure.
Parameters
_mask1 IMaskRenderingSurface
_mask2 IMaskRenderingSurface
Returns