Search Results for

    Show / Hide Table of Contents

    Class CompositeGraphic

    The Composite Graphic implementation of IGraphic which layers graphics one over the other

    Inheritance
    Object
    CompositeGraphic
    Implements
    IGraphic
    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 CompositeGraphic : IGraphic

    Constructors

    CompositeGraphic(IGraphic)

    Initialize new instance of CompositeGraphic

    Declaration
    public CompositeGraphic(IGraphic bg)
    Parameters
    Type Name Description
    IGraphic bg

    background (initial) graphic layer

    Properties

    BackgroundLayer

    The backgroun graphic layer

    Declaration
    public IGraphic BackgroundLayer { get; }
    Property Value
    Type Description
    IGraphic

    OriginalHeight

    Declaration
    public int OriginalHeight { get; }
    Property Value
    Type Description
    Int32

    OriginalOffsetX

    Declaration
    public int OriginalOffsetX { get; }
    Property Value
    Type Description
    Int32

    OriginalOffsetY

    Declaration
    public int OriginalOffsetY { get; }
    Property Value
    Type Description
    Int32

    OriginalWidth

    Declaration
    public int OriginalWidth { get; }
    Property Value
    Type Description
    Int32

    ScaledHeight

    Declaration
    public int ScaledHeight { get; }
    Property Value
    Type Description
    Int32

    ScaledOffsetX

    Declaration
    public int ScaledOffsetX { get; }
    Property Value
    Type Description
    Int32

    ScaledOffsetY

    Declaration
    public int ScaledOffsetY { get; }
    Property Value
    Type Description
    Int32

    ScaledWidth

    Declaration
    public int ScaledWidth { get; }
    Property Value
    Type Description
    Int32

    ScaleFactor

    Declaration
    public double ScaleFactor { get; }
    Property Value
    Type Description
    Double

    ZOrder

    Declaration
    public int ZOrder { get; }
    Property Value
    Type Description
    Int32

    Methods

    AddLayer(IGraphic)

    Add new graphic layer to the existing layers according to its Z Order

    Declaration
    public void AddLayer(IGraphic layer)
    Parameters
    Type Name Description
    IGraphic layer

    The layer graphic instance

    BestFit(Int32, Int32)

    Declaration
    public void BestFit(int width, int height)
    Parameters
    Type Name Description
    Int32 width
    Int32 height

    FlipX()

    Declaration
    public void FlipX()

    FlipY()

    Declaration
    public void FlipY()

    RenderImage(ILUT)

    Declaration
    public IImage RenderImage(ILUT lut)
    Parameters
    Type Name Description
    ILUT lut
    Returns
    Type Description
    IImage

    Reset()

    Declaration
    public void Reset()

    Rotate(Int32)

    Declaration
    public void Rotate(int angle)
    Parameters
    Type Name Description
    Int32 angle

    Scale(Double)

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

    Transform(Double, Int32, Boolean, Boolean)

    Declaration
    public void Transform(double scale, int rotation, bool flipx, bool flipy)
    Parameters
    Type Name Description
    Double scale
    Int32 rotation
    Boolean flipx
    Boolean flipy

    Implements

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