Class CompositeGraphic
The Composite Graphic implementation of IGraphic which layers graphics one over the other
Inheritance
System.Object
CompositeGraphic
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()
Assembly: fo-dicom.core.dll
Syntax
public class CompositeGraphic : IGraphic
Constructors
CompositeGraphic(IGraphic)
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
OriginalHeight
Declaration
public int OriginalHeight { get; }
Property Value
Type |
Description |
System.Int32 |
|
OriginalOffsetX
Declaration
public int OriginalOffsetX { get; }
Property Value
Type |
Description |
System.Int32 |
|
OriginalOffsetY
Declaration
public int OriginalOffsetY { get; }
Property Value
Type |
Description |
System.Int32 |
|
OriginalWidth
Declaration
public int OriginalWidth { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScaledHeight
Declaration
public int ScaledHeight { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScaledOffsetX
Declaration
public int ScaledOffsetX { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScaledOffsetY
Declaration
public int ScaledOffsetY { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScaledWidth
Declaration
public int ScaledWidth { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScaleFactor
Declaration
public double ScaleFactor { get; }
Property Value
Type |
Description |
System.Double |
|
ZOrder
Declaration
public int ZOrder { get; }
Property Value
Type |
Description |
System.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 |
System.Int32 |
width |
|
System.Int32 |
height |
|
FlipX()
Declaration
FlipY()
Declaration
RenderImage(ILUT)
Declaration
public IImage RenderImage(ILUT lut)
Parameters
Type |
Name |
Description |
ILUT |
lut |
|
Returns
Reset()
Declaration
Rotate(Int32)
Declaration
public void Rotate(int angle)
Parameters
Type |
Name |
Description |
System.Int32 |
angle |
|
Scale(Double)
Declaration
public void Scale(double scale)
Parameters
Type |
Name |
Description |
System.Double |
scale |
|
Declaration
public void Transform(double scale, int rotation, bool flipx, bool flipy)
Parameters
Type |
Name |
Description |
System.Double |
scale |
|
System.Int32 |
rotation |
|
System.Boolean |
flipx |
|
System.Boolean |
flipy |
|
Implements
Extension Methods