Table of Contents

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 SingleBitPixelData

Overlay pixel data

offsetx int

X offset

offsety int

Y offset

color int

The color of the resulting overlay

Methods

Render(int[], int, int)

Render overlay graphic.

public void Render(int[] pixels, int width, int height)

Parameters

pixels int[]

Pixels subject to rendering.

width int
height int

Scale(double)

Set overlay scale factor.

public void Scale(double scale)

Parameters

scale double

Scale factor.