Class IOSImage
IImage implementation of a Windows Forms
Inherited Members
Namespace: Dicom.Imaging
Assembly: cs.temp.dll.dll
Syntax
public sealed class IOSImage : ImageDisposableBase<CGImage>, IImage, IDisposable
Constructors
IOSImage(Int32, Int32)
Initializes an instance of the IOSImage object.
Declaration
public IOSImage(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | Image width. |
Int32 | height | Image height. |
Methods
As<T>()
Cast IImage object to specific (real image) type.
Declaration
public override T As<T>()
Returns
Type | Description |
---|---|
T | IImage object as specific (real image) type. |
Type Parameters
Name | Description |
---|---|
T | Real image type to cast to. |
Overrides
Dicom.Imaging.ImageBase<CGImage>.As<T>()
Clone()
Creates a deep copy of the image.
Declaration
public override IImage Clone()
Returns
Type | Description |
---|---|
IImage | Deep copy of this image. |
Overrides
Dicom.Imaging.ImageBase<CGImage>.Clone()
DrawGraphics(IEnumerable<IGraphic>)
Draw graphics onto existing image.
Declaration
public override void DrawGraphics(IEnumerable<IGraphic> graphics)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IGraphic> | graphics | Graphics to draw. |
Overrides
Dicom.Imaging.ImageBase<CGImage>.DrawGraphics(System.Collections.Generic.IEnumerable<Dicom.Imaging.Render.IGraphic>)
Render(Int32, Boolean, Boolean, Int32)
Renders the image given the specified parameters.
Declaration
public override void Render(int components, bool flipX, bool flipY, int rotation)
Parameters
Type | Name | Description |
---|---|---|
Int32 | components | Number of components. |
Boolean | flipX | Flip image in X direction? |
Boolean | flipY | Flip image in Y direction? |
Int32 | rotation | Image rotation. |
Overrides
Dicom.Imaging.ImageBase<CGImage>.Render(System.Int32, System.Boolean, System.Boolean, System.Int32)