C# 클래스 QuickFont.TextNodeList

A doubly linked list of text nodes
상속: IEnumerable
파일 보기 프로젝트 열기: swax/QuickFont 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Head TextNode
Tail TextNode

공개 메소드들

메소드 설명
Add ( TextNode node ) : void
Crumble ( TextNode node, int baseCaseSize ) : void

Splits a word into sub-words of size less than or equal to baseCaseSize

GetEnumerator ( ) : IEnumerator
MeasureNodes ( QFontData fontData, QFontRenderOptions options ) : void
SplitNode ( TextNode node ) : TextNode

Splits a word node in two, adding both new nodes to the list in sequence.

TextNodeList ( string text ) : System

Builds a doubly linked list of text nodes from the given input string

ToString ( ) : string

비공개 메소드들

메소드 설명
MeasureTextNodeLength ( TextNode node, QFontData fontData, QFontRenderOptions options ) : float

메소드 상세

Add() 공개 메소드

public Add ( TextNode node ) : void
node TextNode
리턴 void

Crumble() 공개 메소드

Splits a word into sub-words of size less than or equal to baseCaseSize
public Crumble ( TextNode node, int baseCaseSize ) : void
node TextNode
baseCaseSize int
리턴 void

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

MeasureNodes() 공개 메소드

public MeasureNodes ( QFontData fontData, QFontRenderOptions options ) : void
fontData QFontData
options QFontRenderOptions
리턴 void

SplitNode() 공개 메소드

Splits a word node in two, adding both new nodes to the list in sequence.
public SplitNode ( TextNode node ) : TextNode
node TextNode
리턴 TextNode

TextNodeList() 공개 메소드

Builds a doubly linked list of text nodes from the given input string
public TextNodeList ( string text ) : System
text string
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Head 공개적으로 프로퍼티

public TextNode,QuickFont Head
리턴 TextNode

Tail 공개적으로 프로퍼티

public TextNode,QuickFont Tail
리턴 TextNode