C# Class MonoHotDraw.Figures.SimpleTextFigure

Inheritance: AttributeFigure
Exibir arquivo Open project: mono/monohotdraw Class Usage Examples

Public Methods

Method Description
BasicDraw ( Cairo context ) : void
BasicDrawSelected ( Cairo context ) : void
CreateFigureTool ( IDrawingEditor editor, ITool dt ) : ITool
GetAttribute ( FigureAttribute attribute ) : object
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SetAttribute ( FigureAttribute attribute, object value ) : void
SimpleTextFigure ( string text ) : System

Protected Methods

Method Description
DrawText ( Cairo context ) : void
OnTextChanged ( ) : void
RecalculateDisplayBox ( ) : void
SetupLayout ( Cairo context ) : void
SimpleTextFigure ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
GenerateDummyContext ( ) : void

Method Details

BasicDraw() public method

public BasicDraw ( Cairo context ) : void
context Cairo
return void

BasicDrawSelected() public method

public BasicDrawSelected ( Cairo context ) : void
context Cairo
return void

CreateFigureTool() public method

public CreateFigureTool ( IDrawingEditor editor, ITool dt ) : ITool
editor IDrawingEditor
dt ITool
return ITool

DrawText() protected method

protected DrawText ( Cairo context ) : void
context Cairo
return void

GetAttribute() public method

public GetAttribute ( FigureAttribute attribute ) : object
attribute FigureAttribute
return object

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

OnTextChanged() protected method

protected OnTextChanged ( ) : void
return void

RecalculateDisplayBox() protected method

protected RecalculateDisplayBox ( ) : void
return void

SetAttribute() public method

public SetAttribute ( FigureAttribute attribute, object value ) : void
attribute FigureAttribute
value object
return void

SetupLayout() protected method

protected SetupLayout ( Cairo context ) : void
context Cairo
return void

SimpleTextFigure() protected method

protected SimpleTextFigure ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

SimpleTextFigure() public method

public SimpleTextFigure ( string text ) : System
text string
return System