C# Class DevAudio.Microcone.SectorView

Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: microcone/microconesdk

Private Properties

Property Type Description
ComputeCartesianCoordinate Point
DrawBall System.Windows.Shapes.Ellipse
DrawCord void
DrawGeometry void
DrawText void
DrawWedge System.Windows.Shapes.Path

Public Methods

Method Description
SectorView ( ) : System
SetEnabled ( int sectorEnabled ) : void
SetLocation ( int sectorActive, float sectorLocation ) : void

Protected Methods

Method Description
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Private Methods

Method Description
ComputeCartesianCoordinate ( double angle, double radius ) : Point
DrawBall ( System.Windows.Controls.Canvas canvas, Point centre, int i, float theWidth ) : System.Windows.Shapes.Ellipse
DrawCord ( System.Windows.Controls.Canvas canvas, Point centre, float theWidth ) : void
DrawGeometry ( System.Windows.Media.StreamGeometryContext context, Point centre, float RotationAngle, float WedgeAngle, float Radius, float InnerRadius ) : void
DrawText ( System.Windows.Controls.Canvas canvas, Point centre, float arcRadius, int i, float rotationAngle ) : void
DrawWedge ( System.Windows.Controls.Canvas canvas, Point centre, float arcRadius, int i, float rotationAngle, float wedgeAngle, System.Windows.Media.Brush sectorBrush ) : System.Windows.Shapes.Path

Method Details

OnRenderSizeChanged() protected method

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
return void

SectorView() public method

public SectorView ( ) : System
return System

SetEnabled() public method

public SetEnabled ( int sectorEnabled ) : void
sectorEnabled int
return void

SetLocation() public method

public SetLocation ( int sectorActive, float sectorLocation ) : void
sectorActive int
sectorLocation float
return void