C# Class TextAddin.Controls.VisualLineElement

Inheritance: Flood.GUI.Controls.Control
ファイルを表示 Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
Split ( int splitStartOffset, IList elements, int elementIndex ) : void

Splits the element.

VisualLineElement ( VisualLine visualLine, int offset, int length ) : System

Protected Methods

Method Description
OnMouseClickedLeft ( int x, int y, bool down ) : void
Render ( Flood skin ) : void

Private Methods

Method Description
UpdateText ( ) : void

Method Details

OnMouseClickedLeft() protected method

protected OnMouseClickedLeft ( int x, int y, bool down ) : void
x int
y int
down bool
return void

Render() protected method

protected Render ( Flood skin ) : void
skin Flood
return void

Split() public method

Splits the element.
public Split ( int splitStartOffset, IList elements, int elementIndex ) : void
splitStartOffset int Position inside this element at which it should be broken
elements IList The collection of line elements
elementIndex int The index at which this element is in the elements list.
return void

VisualLineElement() public method

public VisualLineElement ( VisualLine visualLine, int offset, int length ) : System
visualLine VisualLine
offset int
length int
return System