Sharpie
Search Results for

    Show / Hide Table of Contents
    • Sharpie
      • Canvas
      • Canvas.CheckGlyphStyle
      • Canvas.FillStyle
      • Canvas.GlyphSize
      • Canvas.GradientGlyphStyle
      • Canvas.LineStyle
      • Canvas.Orientation
      • Canvas.ShadeGlyphStyle
      • Canvas.TriangleGlyphStyle
      • CaretMode
      • ClearStrategy
      • ColorManager
      • ColorMixture
      • ColorMode
      • ControlCharacter
      • CursesException
      • CursesInitializationException
      • CursesOperationException
      • CursesSynchronizationException
      • DelegateEvent
      • Event
      • EventPump
      • EventType
      • Key
      • KeyEvent
      • KeySequenceResolver
      • ModifierKey
      • MouseActionEvent
      • MouseButton
      • MouseButtonState
      • MouseMoveEvent
      • Pad
      • ReplaceStrategy
      • ResolveEscapeSequenceFunc
      • Screen
      • SoftLabelKeyAlignment
      • SoftLabelKeyManager
      • SoftLabelKeyMode
      • StandardColor
      • StartEvent
      • StopEvent
      • Style
      • StyledText
      • SubPad
      • SubWindow
      • Surface
      • Terminal
      • TerminalOptions
      • TerminalResizeEvent
      • TerminalSurface
      • VideoAttribute
      • Window
    • Sharpie.Abstractions
      • IAsciiFont
      • IColorManager
      • ICursesBackend
      • ICursesBackend.ripoffline_callback
      • IDrawSurface
      • IDrawable
      • IEventPump
      • IInterval
      • IPad
      • IScreen
      • ISoftLabelKeyManager
      • ISubPad
      • ISubWindow
      • ISurface
      • ITerminal
      • ITerminalSurface
      • IWindow
    • Sharpie.Backend
      • ComplexChar
      • CursesBackend
      • CursesBackendFlavor
      • CursesBackendType
      • CursesCharEvent
      • CursesEvent
      • CursesKeyEvent
      • CursesMouseEvent
      • CursesMouseState
      • CursesResizeEvent
      • NCursesKeyCode
      • PdCursesKeyCode
    • Sharpie.Font
      • AsciiFont
      • AsciiFontLayout
      • DosCp866AsciiFont
      • FigletFont

    Interface IScreen

    Defines the traits that a Screen implements.

    Inherited Members
    ITerminalSurface.Terminal
    ITerminalSurface.ImmediateRefresh
    ITerminalSurface.Refresh()
    ITerminalSurface.Refresh(int, int)
    ISurface.Handle
    ISurface.Disposed
    ISurface.Scrollable
    ISurface.Style
    ISurface.ColorMixture
    ISurface.Background
    ISurface.Size
    ISurface.CaretLocation
    ISurface.Dirty
    ISurface.ManagedCaret
    ISurface.EnableAttributes(VideoAttribute)
    ISurface.DisableAttributes(VideoAttribute)
    ISurface.ScrollUp(int)
    ISurface.ScrollDown(int)
    ISurface.InsertEmptyLines(int)
    ISurface.DeleteLines(int)
    ISurface.ChangeTextStyle(int, Style)
    ISurface.WriteText(StyledText, bool)
    ISurface.WriteText(string, Style, bool)
    ISurface.WriteText(string, bool)
    ISurface.NextLine()
    ISurface.DrawText(IAsciiFont, string, Style, bool, bool)
    ISurface.DrawText(IAsciiFont, string, bool, bool)
    ISurface.DrawVerticalLine(int, Rune, Style)
    ISurface.DrawVerticalLine(int)
    ISurface.DrawHorizontalLine(int, Rune, Style)
    ISurface.DrawHorizontalLine(int)
    ISurface.DrawBorder(Rune, Rune, Rune, Rune, Rune, Rune, Rune, Rune, Style)
    ISurface.DrawBorder()
    ISurface.RemoveText(int)
    ISurface.GetText(int)
    ISurface.Clear(ClearStrategy)
    ISurface.Replace(ISurface, ReplaceStrategy)
    ISurface.Replace(ISurface, Rectangle, Point, ReplaceStrategy)
    ISurface.MarkDirty(int, int)
    ISurface.MarkDirty()
    ISurface.IsPointWithin(Point)
    ISurface.IsRectangleWithin(Rectangle)
    ISurface.Draw(Point, Rectangle, IDrawable)
    ISurface.Draw(Point, IDrawable)
    ISurface.LineDirty(int)
    ISurface.Destroy()
    IDrawSurface.DrawCell(Point, Rune, Style)
    Namespace: Sharpie.Abstractions
    Assembly: sharpie.dll
    Syntax
    [PublicAPI]
    public interface IScreen : ITerminalSurface, ISurface, IDrawSurface

    Properties

    Pads

    Gets all child pads on this screen.

    Declaration
    IEnumerable<IPad> Pads { get; }
    Property Value
    Type Description
    IEnumerable<IPad>
    Remarks

    This operation is not thread safe.

    Exceptions
    Type Condition
    ObjectDisposedException

    Screen is no longer usable.

    CursesSynchronizationException

    Thrown if this operation was expected to run on the main thread/context but wasn't.

    Windows

    Gets all child windows on this screen.

    Declaration
    IEnumerable<IWindow> Windows { get; }
    Property Value
    Type Description
    IEnumerable<IWindow>
    Remarks

    This operation is not thread safe.

    Exceptions
    Type Condition
    ObjectDisposedException

    Screen is no longer usable.

    CursesSynchronizationException

    Thrown if this operation was expected to run on the main thread/context but wasn't.

    Methods

    Pad(Size)

    Creates a new pad.

    Declaration
    IPad Pad(Size size)
    Parameters
    Type Name Description
    Size size

    The pad size.

    Returns
    Type Description
    IPad

    A new pad object.

    Remarks

    This operation is not thread safe.

    Exceptions
    Type Condition
    ObjectDisposedException

    Screen is no longer usable.

    ArgumentOutOfRangeException

    The size is invalid.

    CursesSynchronizationException

    Thrown if this operation was expected to run on the main thread/context but wasn't.

    Window(Rectangle)

    Creates a new sub-window in the parent window.

    Declaration
    IWindow Window(Rectangle area)
    Parameters
    Type Name Description
    Rectangle area

    The area of the window to put the sub-window in.

    Returns
    Type Description
    IWindow

    A new window object.

    Exceptions
    Type Condition
    ObjectDisposedException

    Screen is no longer usable.

    ArgumentOutOfRangeException

    The area is outside the bounds of the parent.

    CursesSynchronizationException

    Thrown if this operation was expected to run on the main thread/context but wasn't.

    In this article
    Back to top Generated by DocFX