C# Класс DevAudio.Microcone.SectorView

Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ComputeCartesianCoordinate Point
DrawBall System.Windows.Shapes.Ellipse
DrawCord void
DrawGeometry void
DrawText void
DrawWedge System.Windows.Shapes.Path

Открытые методы

Метод Описание
SectorView ( ) : System
SetEnabled ( int sectorEnabled ) : void
SetLocation ( int sectorActive, float sectorLocation ) : void

Защищенные методы

Метод Описание
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Приватные методы

Метод Описание
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

Описание методов

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