Class OverlayGraphic
- Namespace
- FellowOakDicom.Imaging.Render
- Assembly
- fo-dicom.core.dll
The Overlay Graphic which render overlay over pixel data
public class OverlayGraphic- Inheritance
- 
      
      OverlayGraphic
- Inherited Members
- Extension Methods
Constructors
OverlayGraphic(SingleBitPixelData, int, int, int)
Initialize new instance of OverlayGraphic
public OverlayGraphic(SingleBitPixelData pixelData, int offsetx, int offsety, int color)Parameters
- pixelDataSingleBitPixelData
- Overlay pixel data 
- offsetxint
- X offset 
- offsetyint
- Y offset 
- colorint
- The color of the resulting overlay 
Methods
Render(int[], int, int)
Render overlay graphic.
public void Render(int[] pixels, int width, int height)Parameters
Scale(double)
Set overlay scale factor.
public void Scale(double scale)Parameters
- scaledouble
- Scale factor.