C# Class Xwt.WPFBackend.WpfTextLayoutBackendHandler

Inheritance: TextLayoutBackendHandler
Show file Open project: TheBrainTech/xwt

Public Methods

Method Description
AddAttribute ( object backend, Xwt.Drawing.TextAttribute attribute ) : void
ClearAttributes ( object backend ) : void
Create ( ) : object
GetBaseline ( object backend ) : double
GetCoordinateFromIndex ( object backend, int index ) : Point
GetIndexFromCoordinates ( object backend, double x, double y ) : int
GetMeanline ( object backend ) : double
GetSize ( object backend ) : Size
SetFont ( object backend, Font font ) : void
SetHeight ( object backend, double value ) : void
SetText ( object backend, string text ) : void
SetTrimming ( object backend, Xwt textTrimming ) : void
SetWidth ( object backend, double value ) : void

Method Details

AddAttribute() public method

public AddAttribute ( object backend, Xwt.Drawing.TextAttribute attribute ) : void
backend object
attribute Xwt.Drawing.TextAttribute
return void

ClearAttributes() public method

public ClearAttributes ( object backend ) : void
backend object
return void

Create() public method

public Create ( ) : object
return object

GetBaseline() public method

public GetBaseline ( object backend ) : double
backend object
return double

GetCoordinateFromIndex() public method

public GetCoordinateFromIndex ( object backend, int index ) : Point
backend object
index int
return Point

GetIndexFromCoordinates() public method

public GetIndexFromCoordinates ( object backend, double x, double y ) : int
backend object
x double
y double
return int

GetMeanline() public method

public GetMeanline ( object backend ) : double
backend object
return double

GetSize() public method

public GetSize ( object backend ) : Size
backend object
return System.Windows.Size

SetFont() public method

public SetFont ( object backend, Font font ) : void
backend object
font Xwt.Drawing.Font
return void

SetHeight() public method

public SetHeight ( object backend, double value ) : void
backend object
value double
return void

SetText() public method

public SetText ( object backend, string text ) : void
backend object
text string
return void

SetTrimming() public method

public SetTrimming ( object backend, Xwt textTrimming ) : void
backend object
textTrimming Xwt
return void

SetWidth() public method

public SetWidth ( object backend, double value ) : void
backend object
value double
return void