C# 클래스 LayoutFarm.HtmlBoxes.CssRun

Represents a word inside an inline box
Because of performance, words of text are the most atomic element in the project. It should be characters, but come on, imagine the performance when drawing char by char on the device.
It may change for future versions of the library.
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dbugId int

Private Properties

프로퍼티 타입 설명
FindSelectionPoint void
Offset void
OffsetY void
SetHostLine void
SetLocation void
SetSize void

공개 메소드들

메소드 설명
GetGlobalLocation ( float &globalX, float &globalY ) : CssBox
SetOwner ( CssBox owner ) : void
ToString ( ) : string

Represents this word for debugging purposes

WriteContent ( System stbuilder, int start, int length ) : void

보호된 메소드들

메소드 설명
CssRun ( CssRunKind rectKind ) : System

Init.

비공개 메소드들

메소드 설명
FindSelectionPoint ( IFonts ifonts, int offset, int &selectionIndex, int &runSelectionOffsetPx ) : void
Offset ( float xdiff, float ydiff ) : void
OffsetY ( float ydiff ) : void
SetHostLine ( CssRun run, CssLineBox hostline ) : void
SetLocation ( float x, float y ) : void
SetSize ( float w, float h ) : void

메소드 상세

CssRun() 보호된 메소드

Init.
protected CssRun ( CssRunKind rectKind ) : System
rectKind CssRunKind
리턴 System

GetGlobalLocation() 공개 메소드

public GetGlobalLocation ( float &globalX, float &globalY ) : CssBox
globalX float
globalY float
리턴 CssBox

SetOwner() 공개 메소드

public SetOwner ( CssBox owner ) : void
owner CssBox
리턴 void

ToString() 공개 메소드

Represents this word for debugging purposes
public ToString ( ) : string
리턴 string

WriteContent() 공개 추상적인 메소드

public abstract WriteContent ( System stbuilder, int start, int length ) : void
stbuilder System
start int
length int
리턴 void

프로퍼티 상세

dbugId 공개적으로 프로퍼티

public int dbugId
리턴 int