C# Class ZSCY.Models.PiePiece

Inheritance: Windows.UI.Xaml.Shapes.Path
显示文件 Open project: RedrockMobile/CyxbsMobile_Win Class Usage Examples

Public Properties

Property Type Description
CentreXPropety Windows.UI.Xaml.DependencyProperty
CentreYPropety Windows.UI.Xaml.DependencyProperty
InnerRadiusProperty Windows.UI.Xaml.DependencyProperty
PercentageProperty Windows.UI.Xaml.DependencyProperty
PieceValueProperty Windows.UI.Xaml.DependencyProperty
PushOutProperty Windows.UI.Xaml.DependencyProperty
RadiusProperty Windows.UI.Xaml.DependencyProperty
RotationAngleProperty Windows.UI.Xaml.DependencyProperty
WedgeAngleProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
PiePiece ( ) : System

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size

Private Methods

Method Description
AddArc ( Point point, Size size, bool largeArc, SweepDirection sweepDirection ) : void
AddLine ( Point point ) : void
AddPoint ( double x, double y ) : void
ComputeCartesianCoordinate ( double angle, double radius ) : Point
CreatePathData ( double width, double height ) : void
Offset ( Point point, double offsetX, double offsetY ) : Point

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Windows.Foundation.Size
return Windows.Foundation.Size

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size
return Windows.Foundation.Size

PiePiece() public method

public PiePiece ( ) : System
return System

Property Details

CentreXPropety public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CentreXPropety
return Windows.UI.Xaml.DependencyProperty

CentreYPropety public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CentreYPropety
return Windows.UI.Xaml.DependencyProperty

InnerRadiusProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml InnerRadiusProperty
return Windows.UI.Xaml.DependencyProperty

PercentageProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml PercentageProperty
return Windows.UI.Xaml.DependencyProperty

PieceValueProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml PieceValueProperty
return Windows.UI.Xaml.DependencyProperty

PushOutProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml PushOutProperty
return Windows.UI.Xaml.DependencyProperty

RadiusProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RadiusProperty
return Windows.UI.Xaml.DependencyProperty

RotationAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RotationAngleProperty
return Windows.UI.Xaml.DependencyProperty

WedgeAngleProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml WedgeAngleProperty
return Windows.UI.Xaml.DependencyProperty