C# Class MonoHotDraw.Figures.PolyLineFigure

Inheritance: AttributeFigure
Afficher le fichier Open project: mono/monohotdraw Class Usage Examples

Méthodes publiques

Méthode Description
AddPoint ( double x, double y ) : void
BasicDraw ( Context context ) : void
BasicMoveBy ( double x, double y ) : void
ClearPoints ( ) : void
ContainsPoint ( double x, double y ) : bool
CreateFigureTool ( IDrawingEditor editor, ITool dt ) : ITool
FindSegment ( double x, double y ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
InsertPointAt ( int index, double x, double y ) : void
PointAt ( int index ) : PointD
PolyLineFigure ( ) : System
RemovePointAt ( int i ) : void
SetPointAt ( int index, double x, double y ) : void
SplitSegment ( double x, double y ) : void

Méthodes protégées

Méthode Description
PolyLineFigure ( SerializationInfo info, StreamingContext context ) : System

Method Details

AddPoint() public méthode

public AddPoint ( double x, double y ) : void
x double
y double
Résultat void

BasicDraw() public méthode

public BasicDraw ( Context context ) : void
context Cairo.Context
Résultat void

BasicMoveBy() public méthode

public BasicMoveBy ( double x, double y ) : void
x double
y double
Résultat void

ClearPoints() public méthode

public ClearPoints ( ) : void
Résultat void

ContainsPoint() public méthode

public ContainsPoint ( double x, double y ) : bool
x double
y double
Résultat bool

CreateFigureTool() public méthode

public CreateFigureTool ( IDrawingEditor editor, ITool dt ) : ITool
editor IDrawingEditor
dt ITool
Résultat ITool

FindSegment() public méthode

public FindSegment ( double x, double y ) : int
x double
y double
Résultat int

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

InsertPointAt() public méthode

public InsertPointAt ( int index, double x, double y ) : void
index int
x double
y double
Résultat void

PointAt() public méthode

public PointAt ( int index ) : PointD
index int
Résultat Cairo.PointD

PolyLineFigure() public méthode

public PolyLineFigure ( ) : System
Résultat System

PolyLineFigure() protected méthode

protected PolyLineFigure ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

RemovePointAt() public méthode

public RemovePointAt ( int i ) : void
i int
Résultat void

SetPointAt() public méthode

public SetPointAt ( int index, double x, double y ) : void
index int
x double
y double
Résultat void

SplitSegment() public méthode

public SplitSegment ( double x, double y ) : void
x double
y double
Résultat void