Class CompositeGraphic
The Composite Graphic implementation of IGraphic which layers graphics one over the other
Inheritance
CompositeGraphic
Assembly: cs.temp.dll.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
OriginalOffsetX
Declaration
public int OriginalOffsetX { get; }
Property Value
OriginalOffsetY
Declaration
public int OriginalOffsetY { get; }
Property Value
OriginalWidth
Declaration
public int OriginalWidth { get; }
Property Value
ScaledHeight
Declaration
public int ScaledHeight { get; }
Property Value
ScaledOffsetX
Declaration
public int ScaledOffsetX { get; }
Property Value
ScaledOffsetY
Declaration
public int ScaledOffsetY { get; }
Property Value
ScaledWidth
Declaration
public int ScaledWidth { get; }
Property Value
ScaleFactor
Declaration
public double ScaleFactor { get; }
Property Value
ZOrder
Declaration
public int ZOrder { get; }
Property Value
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
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 |
Int32 |
angle |
|
Scale(Double)
Declaration
public void Scale(double scale)
Parameters
Type |
Name |
Description |
Double |
scale |
|
Declaration
public void Transform(double scale, int rotation, bool flipx, bool flipy)
Parameters
Implements