C# Class Hyena.Gui.Canvas.TextBlock

Inheritance: Hyena.Gui.Canvas.CanvasItem
Show file Open project: GNOME/hyena Class Usage Examples

Public Methods

Method Description
Arrange ( ) : void
Measure ( Size available ) : Size
TextBlock ( ) : System
ToString ( ) : string

Protected Methods

Method Description
ClippedRender ( Hyena context ) : void

Private Methods

Method Description
EnsureLayout ( ) : bool
GetFormattedText ( string text ) : string
GetPangoFontWeight ( FontWeight weight ) : Pango.Weight
GetPangoWrapMode ( TextWrap wrap ) : Pango.WrapMode
GetText ( ) : string
UpdateLayout ( string text, double width, double height, bool forceWidth ) : void

Method Details

Arrange() public method

public Arrange ( ) : void
return void

ClippedRender() protected method

protected ClippedRender ( Hyena context ) : void
context Hyena
return void

Measure() public method

public Measure ( Size available ) : Size
available Size
return Size

TextBlock() public method

public TextBlock ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string