C# 클래스 DevAudio.Microcone.Settings.SectorView

Interaction logic for SectorView.xaml
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: microcone/microconesdk

공개 메소드들

메소드 설명
ColorForTrack ( int track ) : System.Windows.Media.Brush
ComputeCartesianCoordinate ( double angle, double radius ) : Point
SectorView ( ) : System
SetEnabled ( int sectorEnabled ) : void
SetLocation ( int sectorActive, float sectorLocation ) : void

보호된 메소드들

메소드 설명
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

ColorForTrack() 공개 메소드

public ColorForTrack ( int track ) : System.Windows.Media.Brush
track int
리턴 System.Windows.Media.Brush

ComputeCartesianCoordinate() 공개 정적인 메소드

public static ComputeCartesianCoordinate ( double angle, double radius ) : Point
angle double
radius double
리턴 Point

OnRenderSizeChanged() 보호된 메소드

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
리턴 void

SectorView() 공개 메소드

public SectorView ( ) : System
리턴 System

SetEnabled() 공개 메소드

public SetEnabled ( int sectorEnabled ) : void
sectorEnabled int
리턴 void

SetLocation() 공개 메소드

public SetLocation ( int sectorActive, float sectorLocation ) : void
sectorActive int
sectorLocation float
리턴 void