C# Class Alsing.Windows.Forms.SyntaxBox.Painter.ViewPoint

View point struct used by the SyntaxBoxControl. The struct contains information about various rendering parameters that the IPainter needs.
Datei anzeigen Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
Action EditAction
CharWidth int
ClientAreaStart int
ClientAreaWidth int
FirstVisibleColumn int
FirstVisibleRow int
GutterMarginWidth int
LineNumberMarginWidth int
RowHeight int
TextMargin int
TotalMarginWidth int
VisibleRowCount int
YOffset int

Property Details

Action public_oe property

The action that the SyntaxBoxControl is currently performing
public EditAction Action
return EditAction

CharWidth public_oe property

Width of a char (space) in pixels
public int CharWidth
return int

ClientAreaStart public_oe property

Height of the client area in pixels
public int ClientAreaStart
return int

ClientAreaWidth public_oe property

Width of the client area in pixels
public int ClientAreaWidth
return int

FirstVisibleColumn public_oe property

Index of the first visible column
public int FirstVisibleColumn
return int

FirstVisibleRow public_oe property

Index of the first visible row
public int FirstVisibleRow
return int

GutterMarginWidth public_oe property

Width of the gutter margin in pixels
public int GutterMarginWidth
return int

LineNumberMarginWidth public_oe property

Width of the Linenumber margin in pixels
public int LineNumberMarginWidth
return int

RowHeight public_oe property

Height of a row in pixels
public int RowHeight
return int

TextMargin public_oe property

Width of the text margin (sum of gutter + linenumber + folding margins)
public int TextMargin
return int

TotalMarginWidth public_oe property

public int TotalMarginWidth
return int

VisibleRowCount public_oe property

Number of rows that can be displayed in the current view
public int VisibleRowCount
return int

YOffset public_oe property

Used for offsetting the screen in y axis.
public int YOffset
return int