C# 클래스 Svg.SvgTextBase

상속: SvgVisualElement
파일 보기 프로젝트 열기: vvvv/SVG 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetContentNodes IEnumerable
SetPath void
SetPath void

공개 메소드들

메소드 설명
Path ( ISvgRenderer renderer ) : GraphicsPath

Gets the GraphicsPath for this element.

RegisterEvents ( ISvgEventCaller caller ) : void
ShouldWriteElement ( ) : bool

Empty text elements are not legal - only write this element if it has children.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

UnregisterEvents ( ISvgEventCaller caller ) : void

보호된 메소드들

메소드 설명
GetAuthorPathLength ( ) : float
GetBaselinePath ( ISvgRenderer renderer ) : GraphicsPath
OnChange ( string newString, string sessionID ) : void
PrepareText ( string value ) : string

Prepare the text according to the whitespace handling rules. SVG Spec.

RaiseChange ( object sender, StringArg s ) : void
Render ( ISvgRenderer renderer ) : void

Renders the SvgElement and contents to the specified Graphics object.

Necessary to make sure that any internal tspan elements get rendered as well

비공개 메소드들

메소드 설명
GetContentNodes ( ) : IEnumerable
SetPath ( TextDrawingState state ) : void
SetPath ( TextDrawingState state, bool doMeasurements ) : void

Sets the path on this element and all child elements. Uses the state object to track the state of the drawing

메소드 상세

GetAuthorPathLength() 보호된 메소드

protected GetAuthorPathLength ( ) : float
리턴 float

GetBaselinePath() 보호된 메소드

protected GetBaselinePath ( ISvgRenderer renderer ) : GraphicsPath
renderer ISvgRenderer
리턴 System.Drawing.Drawing2D.GraphicsPath

OnChange() 보호된 메소드

protected OnChange ( string newString, string sessionID ) : void
newString string
sessionID string
리턴 void

Path() 공개 메소드

Gets the GraphicsPath for this element.
public Path ( ISvgRenderer renderer ) : GraphicsPath
renderer ISvgRenderer
리턴 System.Drawing.Drawing2D.GraphicsPath

PrepareText() 보호된 메소드

Prepare the text according to the whitespace handling rules. SVG Spec.
protected PrepareText ( string value ) : string
value string Text to be prepared
리턴 string

RaiseChange() 보호된 메소드

protected RaiseChange ( object sender, StringArg s ) : void
sender object
s StringArg
리턴 void

RegisterEvents() 공개 메소드

public RegisterEvents ( ISvgEventCaller caller ) : void
caller ISvgEventCaller
리턴 void

Render() 보호된 메소드

Renders the SvgElement and contents to the specified Graphics object.
Necessary to make sure that any internal tspan elements get rendered as well
protected Render ( ISvgRenderer renderer ) : void
renderer ISvgRenderer The object to render to.
리턴 void

ShouldWriteElement() 공개 메소드

Empty text elements are not legal - only write this element if it has children.
public ShouldWriteElement ( ) : bool
리턴 bool

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string

UnregisterEvents() 공개 메소드

public UnregisterEvents ( ISvgEventCaller caller ) : void
caller ISvgEventCaller
리턴 void