Class ImageView
Image viewer renderable
Inherited Members
Namespace: Terminaux.Images.Writers
Assembly: Terminaux.Images.dll
Syntax
public class ImageView : GraphicalCyclicWriter
Constructors
| Edit this page View SourceImageView()
Makes a new instance of the image renderer
Declaration
public ImageView()
ImageView(MagickImage)
Makes a new instance of the image renderer
Declaration
public ImageView(MagickImage image)
Parameters
Type | Name | Description |
---|---|---|
MagickImage | image | Image to use |
Properties
| Edit this page View SourceBackgroundColor
Background color of the image, overriding any transparency
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ColumnOffset
Specifies a zero-based column offset
Declaration
public int ColumnOffset { get; set; }
Property Value
Type | Description |
---|---|
int |
Fit
Whether to stretch the image or to render as is?
Declaration
public bool Fit { get; set; }
Property Value
Type | Description |
---|---|
bool |
Height
Right margin of the image
Declaration
public override int Height { get; set; }
Property Value
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceImage
An image to render
Declaration
public MagickImage Image { get; set; }
Property Value
Type | Description |
---|---|
MagickImage |
RowOffset
Specifies a zero-based row offset
Declaration
public int RowOffset { get; set; }
Property Value
Type | Description |
---|---|
int |
UsePositioning
Whether to use positioning or not?
Declaration
public bool UsePositioning { get; set; }
Property Value
Type | Description |
---|---|
bool |
Width
Left margin of the image
Declaration
public override int Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Edit this page View SourceRender()
Renders an image
Declaration
public override string Render()
Returns
Type | Description |
---|---|
string | Rendered image that will be used by the renderer |