Search Results for

    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 @ Terminaux.Images.dll
    Syntax
    public class ImageView : GraphicalCyclicWriter


    Constructors

    ImageView()

    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
    Name Type Description
    image MagickImage

    Image to use



    Properties

    BackgroundColor

    Background color of the image, overriding any transparency

    Property Value
    Color
    Declaration
    public Color? BackgroundColor { get; set; }

    ColumnOffset

    Specifies a zero-based column offset

    Property Value
    int
    Declaration
    public int ColumnOffset { get; set; }

    Fit

    Whether to stretch the image or to render as is?

    Property Value
    bool
    Declaration
    public bool Fit { get; set; }

    Height

    Right margin of the image

    Property Value
    int
    Declaration
    public override int Height { get; set; }
    Overrides
    GraphicalCyclicWriter.Height

    Image

    An image to render

    Property Value
    MagickImage
    Declaration
    public MagickImage Image { get; set; }

    RowOffset

    Specifies a zero-based row offset

    Property Value
    int
    Declaration
    public int RowOffset { get; set; }

    UsePositioning

    Whether to use positioning or not?

    Property Value
    bool
    Declaration
    public bool UsePositioning { get; set; }

    Width

    Left margin of the image

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


    Methods

    Render()

    Renders an image

    Returns
    string

    Rendered image that will be used by the renderer

    Declaration
    public override string Render()
    Overrides
    CyclicWriter.Render()
    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •