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
pixelData
SingleBitPixelDataOverlay pixel data
offsetx
intX offset
offsety
intY offset
color
intThe 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
scale
doubleScale factor.