C# Class SilverlightMappingToolBasic.UI.SuperGraph.Controller.ArrowController

Inheritance: ILinearEquation
Show file Open project: chris-tomich/Glyma Class Usage Examples

Private Properties

Property Type Description
GetIntersection Point
OnFromShapeMoved void
OnToShapeMoved void
RefreshViewModel void

Public Methods

Method Description
ArrowController ( ViewModel relationship, IPolymorphicShape from, IPolymorphicShape to ) : System
GetAngle ( ) : double
GetHighestShapeIntersection ( ) : Point
GetLength ( ) : double
GetLowestShapeIntersection ( ) : Point

Private Methods

Method Description
GetIntersection ( IShapeEquation shape ) : Point
OnFromShapeMoved ( object sender, ShapeMovedEventArgs e ) : void
OnToShapeMoved ( object sender, ShapeMovedEventArgs e ) : void
RefreshViewModel ( ) : void

Method Details

ArrowController() public method

public ArrowController ( ViewModel relationship, IPolymorphicShape from, IPolymorphicShape to ) : System
relationship ViewModel
from IPolymorphicShape
to IPolymorphicShape
return System

GetAngle() public method

public GetAngle ( ) : double
return double

GetHighestShapeIntersection() public method

public GetHighestShapeIntersection ( ) : Point
return Point

GetLength() public method

public GetLength ( ) : double
return double

GetLowestShapeIntersection() public method

public GetLowestShapeIntersection ( ) : Point
return Point