C# Class LunarEclipse.Model.LineDescriptor

Inheritance: AbstractLineDescriptor
Show file Open project: mono/lunareclipse

Public Methods

Method Description
GetBounds ( ) : Rect
LineDescriptor ( System.Windows.Shapes.Line element ) : System.Windows
LineDescriptor ( System.Windows.Shapes.Line element, UndoGroup group ) : System.Windows
Move ( double dx, double dy ) : void
SetBounds ( double left, double top, double width, double height ) : void

Method Details

GetBounds() public method

public GetBounds ( ) : Rect
return System.Windows.Rect

LineDescriptor() public method

public LineDescriptor ( System.Windows.Shapes.Line element ) : System.Windows
element System.Windows.Shapes.Line
return System.Windows

LineDescriptor() public method

public LineDescriptor ( System.Windows.Shapes.Line element, UndoGroup group ) : System.Windows
element System.Windows.Shapes.Line
group UndoGroup
return System.Windows

Move() public method

public Move ( double dx, double dy ) : void
dx double
dy double
return void

SetBounds() public method

public SetBounds ( double left, double top, double width, double height ) : void
left double
top double
width double
height double
return void