Class OverlayGraphic
The Overlay Graphic which render overlay over pixel data
Inherited Members
Namespace: Dicom.Imaging.Render
Assembly: cs.temp.dll.dll
Syntax
public class OverlayGraphic
Constructors
OverlayGraphic(SingleBitPixelData, Int32, Int32, Int32)
Initialize new instance of OverlayGraphic
Declaration
public OverlayGraphic(SingleBitPixelData pixelData, int offsetx, int offsety, int color)
Parameters
| Type | Name | Description |
|---|---|---|
| SingleBitPixelData | pixelData | Overlay pixel data |
| Int32 | offsetx | X offset |
| Int32 | offsety | Y offset |
| Int32 | color | The color of the resulting overlay |
Methods
Render(Int32[], Int32, Int32)
Render overlay graphic.
Declaration
public void Render(int[] pixels, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32[] | pixels | Pixels subject to rendering. |
| Int32 | width | |
| Int32 | height |
Scale(Double)
Set overlay scale factor.
Declaration
public void Scale(double scale)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | scale | Scale factor. |