Search Results for

    Show / Hide Table of Contents

    Class OverlayGraphic

    The Overlay Graphic which render overlay over pixel data

    Inheritance
    Object
    OverlayGraphic
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors