Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Console.TextMode
      • IConsoleScreen
      • TextModeDebugConsoleDisplay
      • TicTacToeCommand
      • TicTacToeScreen
    • Scylla.TextMode
      • ANSIAttributeParser
      • ANSIColor
      • ANSISGRAttributes
      • AmbientEffectBase
      • BackgroundBlendMode
      • BoxStyle
      • BoxStyleCharacters
      • BoxStyleCharacters.BoxChars
      • CRTSettings
      • Cell
      • CellAttributes
      • CellAttributesExtensions
      • CellBuffer
      • CellBufferRenderer
      • CellGrid
      • CellMask
      • CellPosition
      • CellRange
      • CellRect
      • ColorCycleEffect
      • ColorCycleEffectPreset
      • CrossFadeEffect
      • CursorStyle
      • DecodeEffect
      • DecodeEffectPreset
      • DigitalRainEffect
      • DigitalRainEffectPreset
      • EffectsSettings
      • FadeEffect
      • FadeEffectPreset
      • FlickerEffect
      • FlickerEffectPreset
      • GlitchEffect
      • GlitchEffectPreset
      • GlyphAtlasCache
      • GridSettings
      • IAutoCompleter
      • IInputHistory
      • ITextEffect
      • ITextEffectContext
      • ITextModeGridProvider
      • ITextModePointerMapper
      • ITextModeRenderSource
      • ITextModeViewHost
      • IVTParserHandler
      • InputHistory
      • MaskTransitionEffect
      • MouseEncodingMode
      • MouseTrackingMode
      • PackedGlyphData
      • PulseEffect
      • PulseEffectPreset
      • PushEffect
      • PushEffectPreset
      • SDFSettings
      • ScrollbackAttributeRun
      • ScrollbackLine
      • ScyllaTextMode
      • ScyllaTextMode.Meta
      • ScyllaTextModeConfiguration
      • SlideInEffect
      • SlideInEffectPreset
      • StaticTuneInEffect
      • StaticTuneInEffectPreset
      • TerminalCLI
      • TerminalEmulator
      • TerminalGridRenderer
      • TerminalInputEncoder
      • TerminalMouseButton
      • TerminalScrollbackBuffer
      • TerminalSettings
      • TextAlignment
      • TextEffectBase
      • TextEffectCompletedEvent
      • TextEffectDirection
      • TextEffectExtensions
      • TextEffectMaskPattern
      • TextEffectPreset
      • TextEffectPushMode
      • TextEffectSequencer
      • TextEffectStartedEvent
      • TextEffectState
      • TextEffectTimeMode
      • TextEffects
      • TextModeCellBorder
      • TextModeColorDefaults
      • TextModeColorScheme
      • TextModeColorSet
      • TextModeConfigurationChangedEvent
      • TextModeConsole
      • TextModeConstants
      • TextModeEffectPlayer
      • TextModeGridCapture
      • TextModeLayoutUtil
      • TextModeMaterials
      • TextModeMouseReporter
      • TextModeMouseReportingEvent
      • TextModeSelectionChangedEvent
      • TextModeSelectionEndedEvent
      • TextModeSelectionManager
      • TextModeSelectionStartedEvent
      • TextModeTerminal
      • TextModeTerminalColorTheme
      • TextModeTerminalHost
      • TextModeTerminalSettings
      • TextModeTerminalStartMode
      • TextModeThemeBackground
      • TextModeThemeChangedEvent
      • TextModeThemeRemapper
      • TextModeThemes
      • TextModeView
      • TextWrapMode
      • ThemeSettings
      • TransitionEffectBase
      • TransitionEffectPreset
      • TwinkleEffect
      • TwinkleEffectPreset
      • TypewriterCharacterRevealedEvent
      • TypewriterEffect
      • TypewriterEffectPreset
      • UITextModeView
      • VTParser
      • WaveEffect
      • WaveEffectPreset
    • Scylla.TextMode.CRT
      • CRTBeam
      • CRTBeamClock
      • CRTBeamScanDirection
      • CRTBeamStatus
      • CRTCalibrationPattern
      • CRTCurvatureShape
      • CRTGeometry
      • CRTHDR
      • CRTHDRDisplay
      • CRTHDRTarget
      • CRTHorizontalKernel
      • CRTImageRegion
      • CRTMaskType
      • CRTQualityTier
      • CRTScaleMode
      • CRTSignalStandard
      • CRTSignalType
      • ITextModeCRTCameraEffect
      • ITextModeCRTHDRDisplaySource
      • TextModeCRTBeam
      • TextModeCRTCalibration
      • TextModeCRTCameraEffects
      • TextModeCRTConstants
      • TextModeCRTDriver
      • TextModeCRTHDR
      • TextModeCRTImageRenderer
      • TextModeCRTMonitor
      • TextModeCRTPreset
      • TextModeCRTPresetRegistry
      • TextModeCRTScreen
      • TextModeCRTSettings
      • TextModeCRTTube
    • Scylla.TextMode.Editor
      • CellGridPreviewWidget
      • ColorPaletteWidget
      • ITextModeCRTCameraSetupProvider
      • ScyllaTextModeConfigurationEditor
      • ScyllaTextModeDependencyProvider
      • ScyllaTextModeEditor
      • ScyllaTextModeMenuItems
      • ScyllaTextModeShaderProvider
      • TextModeCRTCameraSetup
      • TextModeCRTCameraStatus
      • TextModeCRTDriverEditor
      • TextModeCRTMonitorEditor
      • TextModeCRTPresetEditor
      • TextModeCRTPresetGenerator
      • TextModeColorAssetGenerator
      • TextModeColorPaletteDefaults
      • TextModeTerminalHostEditor
      • TextModeThemeField
      • TextModeViewEditor
      • TextModeViewEditorBase
      • UITextModeViewEditor
    • Scylla.TextMode.URP
      • CRTQualityTierParameter
      • TextModeCRTInjectionPoint
      • TextModeCRTPresetParameter
      • TextModeCRTRendererFeature
      • TextModeCRTVolume

    Struct TextModeCellBorder

    A frame of whole cells around the part of a grid that holds content, one width per side.

    Implements
    IEquatable<TextModeCellBorder>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Scylla.TextMode
    Assembly: ScyllaTextMode.dll
    Syntax
    [Serializable]
    public struct TextModeCellBorder : IEquatable<TextModeCellBorder>
    Remarks

    A view with a border of 1 lays out one more cell on every side than its content grid has, and draws those cells in its default background. Nothing ever writes into them: the content grid, and with it the terminal's wrapping, scrolling and cursor, is only the area inside the frame.

    Constructors

    TextModeCellBorder(int, int, int, int)

    Creates a border with its own width on each side.

    Declaration
    public TextModeCellBorder(int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    int left

    Cells on the left side.

    int top

    Cells on the top side.

    int right

    Cells on the right side.

    int bottom

    Cells on the bottom side.

    Fields

    Bottom

    Cells on the bottom side.

    Declaration
    public int Bottom
    Field Value
    Type Description
    int

    Left

    Cells on the left side.

    Declaration
    public int Left
    Field Value
    Type Description
    int

    Right

    Cells on the right side.

    Declaration
    public int Right
    Field Value
    Type Description
    int

    Top

    Cells on the top side.

    Declaration
    public int Top
    Field Value
    Type Description
    int

    Properties

    Horizontal

    Gets the cells taken by the left and right sides together.

    Declaration
    public int Horizontal { get; }
    Property Value
    Type Description
    int

    IsNone

    Gets whether every side is zero.

    Declaration
    public bool IsNone { get; }
    Property Value
    Type Description
    bool

    None

    Gets a border of zero on every side.

    Declaration
    public static TextModeCellBorder None { get; }
    Property Value
    Type Description
    TextModeCellBorder

    Vertical

    Gets the cells taken by the top and bottom sides together.

    Declaration
    public int Vertical { get; }
    Property Value
    Type Description
    int

    Methods

    ClampedToZero()

    Returns a copy with every negative side raised to zero.

    Declaration
    public TextModeCellBorder ClampedToZero()
    Returns
    Type Description
    TextModeCellBorder

    The border with no negative sides.

    Equals(TextModeCellBorder)

    Declaration
    public bool Equals(TextModeCellBorder other)
    Parameters
    Type Name Description
    TextModeCellBorder other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns the sides in the order top, right, bottom, left.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A text such as top 1, right 2, bottom 1, left 2.

    Overrides
    ValueType.ToString()

    Uniform(int)

    Creates a border with the same width on every side.

    Declaration
    public static TextModeCellBorder Uniform(int cells)
    Parameters
    Type Name Description
    int cells

    Cells on each side.

    Returns
    Type Description
    TextModeCellBorder

    The border.

    Operators

    operator ==(TextModeCellBorder, TextModeCellBorder)

    Compares two borders side by side.

    Declaration
    public static bool operator ==(TextModeCellBorder a, TextModeCellBorder b)
    Parameters
    Type Name Description
    TextModeCellBorder a
    TextModeCellBorder b
    Returns
    Type Description
    bool

    operator !=(TextModeCellBorder, TextModeCellBorder)

    Compares two borders side by side.

    Declaration
    public static bool operator !=(TextModeCellBorder a, TextModeCellBorder b)
    Parameters
    Type Name Description
    TextModeCellBorder a
    TextModeCellBorder b
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    Back to top Scylla Framework - TextMode Module API Documentation