Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class OverlayGraphic

    The Overlay Graphic which render overlay over pixel data

    Inheritance
    System.Object
    OverlayGraphic
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.Imaging.Render
    Assembly: fo-dicom.core.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

    System.Int32 offsetx

    X offset

    System.Int32 offsety

    Y offset

    System.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
    System.Int32[] pixels

    Pixels subject to rendering.

    System.Int32 width
    System.Int32 height

    Scale(Double)

    Set overlay scale factor.

    Declaration
    public void Scale(double scale)
    Parameters
    Type Name Description
    System.Double scale

    Scale factor.

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors