Search Results for

    Show / Hide Table of Contents

    Class ImageView

    Image viewer renderable

    Inheritance
    object
    CyclicWriter
    GraphicalCyclicWriter
    ImageView
    Inherited Members
    GraphicalCyclicWriter.Left
    GraphicalCyclicWriter.Top
    GraphicalCyclicWriter.Padding
    GraphicalCyclicWriter.Margins
    GraphicalCyclicWriter.SetMargins
    GraphicalCyclicWriter.HitboxStartPos
    GraphicalCyclicWriter.HitboxEndPos
    GraphicalCyclicWriter.GenerateHitbox(Func<PointerEventContext, object>)
    GraphicalCyclicWriter.GenerateHitbox(Action<PointerEventContext>)
    Namespace: Terminaux.Images.Writers
    Assembly: Terminaux.Images.dll
    Syntax
    public class ImageView : GraphicalCyclicWriter

    Constructors

    | Edit this page View Source

    ImageView()

    Makes a new instance of the image renderer

    Declaration
    public ImageView()
    | Edit this page View Source

    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 Source

    BackgroundColor

    Background color of the image, overriding any transparency

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ColumnOffset

    Specifies a zero-based column offset

    Declaration
    public int ColumnOffset { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Fit

    Whether to stretch the image or to render as is?

    Declaration
    public bool Fit { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Height

    Right margin of the image

    Declaration
    public override int Height { get; set; }
    Property Value
    Type Description
    int
    Overrides
    GraphicalCyclicWriter.Height
    | Edit this page View Source

    Image

    An image to render

    Declaration
    public MagickImage Image { get; set; }
    Property Value
    Type Description
    MagickImage
    | Edit this page View Source

    RowOffset

    Specifies a zero-based row offset

    Declaration
    public int RowOffset { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    UsePositioning

    Whether to use positioning or not?

    Declaration
    public bool UsePositioning { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Width

    Left margin of the image

    Declaration
    public override int Width { get; set; }
    Property Value
    Type Description
    int
    Overrides
    GraphicalCyclicWriter.Width

    Methods

    | Edit this page View Source

    Render()

    Renders an image

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered image that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX