Property | Type | Description | |
---|---|---|---|
m_boundingRectangle | |||
m_brushEndSide | |||
m_brushPeripherySurface | |||
m_brushStartSide | |||
m_brushSurface | |||
m_brushSurfaceHighlighted | |||
m_center | |||
m_centerBelow | |||
m_endSide | |||
m_pen | |||
m_pointEnd | |||
m_pointEndBelow | |||
m_pointStart | |||
m_pointStartBelow | |||
m_sliceHeight | float | ||
m_startAngle | float | ||
m_startSide | |||
m_sweepAngle | float |
Property | Type | Description | |
---|---|---|---|
BottomSurfaceSectionContainsPoint | bool | ||
CreatePathForCylinderSurfaceSection | |||
CylinderSurfaceSectionContainsPoint | bool | ||
DrawBottom | void | ||
DrawEndSide | void | ||
DrawHiddenPeriphery | void | ||
DrawSides | void | ||
DrawStartSide | void | ||
DrawTop | void | ||
DrawVisiblePeriphery | void | ||
EndSideContainsPoint | bool | ||
GetEllipseRadius | double | ||
GetFittingRectangle | |||
GetHiddenPeripherySurfaceBounds | PeripherySurfaceBounds[] | ||
GetVisiblePeripherySurfaceBounds | PeripherySurfaceBounds[] | ||
InitializePieSlice | void | ||
InitializeSides | void | ||
InitializeSides | void | ||
PeripheryContainsPoint | bool | ||
PieSliceContainsPoint | bool | ||
PieSliceContainsPoint | bool | ||
Readjust | void | ||
Split | System.Drawing.PieChart.PieSlice[] | ||
StartSideContainsPoint | bool |
Method | Description | |
---|---|---|
Contains ( |
Checks if given pie slice contains given point.
|
|
Dispose ( ) : void |
Disposes of all resources used by
|
|
Draw ( |
Draws the pie slice.
|
|
GetTextPosition ( ) : |
Evaluates the point in the middle of the slice.
|
|
PieSlice ( |
Initializes a new instance of
|
|
PieSlice ( |
Initializes a new instance of
|
|
PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float startAngle, float sweepAngle, Color surfaceColor ) : System |
Initializes a new instance of flat
|
|
PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight, float startAngle, float sweepAngle, Color surfaceColor, ShadowStyle shadowStyle, EdgeColorType edgeColorType ) : System |
Initializes a new instance of
|
|
PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight, float startAngle, float sweepAngle, Color surfaceColor, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : System |
Initializes a new instance of
|
Method | Description | |
---|---|---|
CreateBrushForPeriphery ( Color color ) : |
Creates a brush for outer periphery of the pie slice used for gradual shadow.
|
|
CreateBrushForSide ( Color color, double angle ) : |
Creates a brush for start and end sides of the pie slice for gradual shade.
|
|
CreateSurfaceBrushes ( Color surfaceColor, ShadowStyle shadowStyle ) : void |
Creates brushes used to render the pie slice.
|
|
DisposeBrushes ( ) : void |
Disposes of brush objects.
|
|
DrawCylinderSurfaceSection ( |
Draws the outer periphery of the pie slice.
|
|
GetActualAngle ( float transformedAngle ) : float |
Gets the actual angle from the rendering angle.
|
|
PeripheralPoint ( float xCenter, float yCenter, float semiMajor, float semiMinor, float angleDegrees ) : |
Calculates the point on ellipse periphery for angle.
|
|
PieSlice ( ) : System |
Initializes an empty instance of
|
|
TransformAngle ( float angle ) : float |
Transforms actual angle to angle used for rendering. They are different because of perspective.
|
Method | Description | |
---|---|---|
BottomSurfaceSectionContainsPoint ( |
Checks if bottom side of the pie slice contains the point.
|
|
CreatePathForCylinderSurfaceSection ( float startAngle, float endAngle, |
Creates
|
|
CylinderSurfaceSectionContainsPoint ( |
Checks if given point is contained within upper and lower pie slice surfaces or within the outer slice brink.
|
|
DrawBottom ( |
Draws the bottom of the pie slice.
|
|
DrawEndSide ( |
Draws visible end side.
|
|
DrawHiddenPeriphery ( |
Draws hidden outer periphery of the pie slice.
|
|
DrawSides ( |
Draws pie slice sides.
|
|
DrawStartSide ( |
Draws visible start side.
|
|
DrawTop ( |
Draws the top of the pie slice.
|
|
DrawVisiblePeriphery ( |
Draws visible outer periphery of the pie slice.
|
|
EndSideContainsPoint ( |
Checks if point provided is inside pie slice end cut side.
|
|
GetEllipseRadius ( double angle ) : double |
Evaluates the distance of an ellipse perimeter point for a given angle.
|
|
GetFittingRectangle ( ) : |
Calculates the smallest rectangle into which this pie slice fits.
|
|
GetHiddenPeripherySurfaceBounds ( ) : PeripherySurfaceBounds[] |
Gets an array of hidden periphery bounds.
|
|
GetVisiblePeripherySurfaceBounds ( ) : PeripherySurfaceBounds[] |
Gets an array of visible periphery bounds.
|
|
InitializePieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight ) : void |
Initializes pie bounding rectangle, pie height, corners coordinates and brushes used for rendering.
|
|
InitializeSides ( ) : void |
Initializes start and end pie slice sides.
|
|
InitializeSides ( bool startSideExists, bool endSideExists ) : void |
Initializes start and end pie slice sides.
|
|
PeripheryContainsPoint ( |
Checks if given point is contained by cylinder periphery.
|
|
PieSliceContainsPoint ( |
Checks if given point is contained inside the pie slice.
|
|
PieSliceContainsPoint ( |
Checks if point given is contained within the pie slice.
|
|
Readjust ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight ) : void |
Reajusts the pie slice to fit new bounding rectangle provided.
|
|
Split ( float splitAngle ) : System.Drawing.PieChart.PieSlice[] |
Splits a pie slice into two on the split angle.
|
|
StartSideContainsPoint ( |
Checks if point provided is inside pie slice start cut side.
|
public Contains ( |
||
point |
/// |
|
return | bool |
protected CreateBrushForPeriphery ( Color color ) : |
||
color | Color | /// Color used for pie slice rendering. /// |
return |
protected CreateBrushForSide ( Color color, double angle ) : |
||
color | Color | /// Color used for pie slice rendering. /// |
angle | double | /// Angle of the surface. /// |
return |
protected CreateSurfaceBrushes ( Color surfaceColor, ShadowStyle shadowStyle ) : void | ||
surfaceColor | Color | /// Color used for rendering. /// |
shadowStyle | ShadowStyle | /// Shadow style used for rendering. /// |
return | void |
public Draw ( |
||
graphics |
/// |
|
return | void |
protected DrawCylinderSurfaceSection ( |
||
graphics |
/// |
|
pen |
/// |
|
brush |
/// |
|
startAngle | float | /// Start angle (in degrees) of the periphery section. /// |
endAngle | float | /// End angle (in degrees) of the periphery section. /// |
pointStart | /// Point representing the start of the periphery. /// | |
pointEnd | /// Point representing the end of the periphery. /// | |
return | void |
protected GetActualAngle ( float transformedAngle ) : float | ||
transformedAngle | float | /// Transformed angle for which actual angle has to be evaluated. /// |
return | float |
protected PeripheralPoint ( float xCenter, float yCenter, float semiMajor, float semiMinor, float angleDegrees ) : |
||
xCenter | float | /// x-coordinate of the center of the ellipse. /// |
yCenter | float | /// y-coordinate of the center of the ellipse. /// |
semiMajor | float | /// Horizontal semi-axis. /// |
semiMinor | float | /// Vertical semi-axis. /// |
angleDegrees | float | /// Angle (in degrees) for which corresponding periphery point has to /// be obtained. /// |
return |
public PieSlice ( |
||
boundingRect | /// Bounding rectangle used to draw the top surface of the pie slice. /// | |
sliceHeight | float | /// Pie slice height. /// |
startAngle | float | /// Starting angle (in degrees) of the pie slice. /// |
sweepAngle | float | /// Sweep angle (in degrees) of the pie slice. /// |
surfaceColor | Color | /// Color used to render pie slice surface. /// |
shadowStyle | ShadowStyle | /// Shadow style used in rendering. /// |
edgeColorType | EdgeColorType | /// Edge color type used for rendering. /// |
edgeLineWidth | float | /// Edge line width. /// |
return | System |
public PieSlice ( |
||
boundingRect | /// Bounding rectangle used to draw the top surface of the slice. /// | |
sliceHeight | float | /// Pie slice height. /// |
startAngle | float | /// Starting angle (in degrees) of the pie slice. /// |
sweepAngle | float | /// Sweep angle (in degrees) of the pie slice. /// |
surfaceColor | Color | /// Color used to render pie slice surface. /// |
shadowStyle | ShadowStyle | /// Shadow style used in rendering. /// |
edgeColorType | EdgeColorType | /// Edge color type used for rendering. /// |
return | System |
public PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float startAngle, float sweepAngle, Color surfaceColor ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
widthBoundingRect | float | /// Width of the rectangle that is used to draw the top surface of /// the pie slice. /// |
heightBoundingRect | float | /// Height of the rectangle that is used to draw the top surface of /// the pie slice. /// |
startAngle | float | /// Starting angle (in degrees) of the pie slice. /// |
sweepAngle | float | /// Sweep angle (in degrees) of the pie slice. /// |
surfaceColor | Color | /// Color used to paint the pie slice. /// |
return | System |
public PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight, float startAngle, float sweepAngle, Color surfaceColor, ShadowStyle shadowStyle, EdgeColorType edgeColorType ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
widthBoundingRect | float | /// Width of the rectangle that is used to draw the top surface of /// the pie slice. /// |
heightBoundingRect | float | /// Height of the rectangle that is used to draw the top surface of /// the pie slice. /// |
sliceHeight | float | /// Height of the pie slice. /// |
startAngle | float | /// Starting angle (in degrees) of the pie slice. /// |
sweepAngle | float | /// Sweep angle (in degrees) of the pie slice. /// |
surfaceColor | Color | /// Color used to paint the pie slice. /// |
shadowStyle | ShadowStyle | /// Shadow style used for slice rendering. /// |
edgeColorType | EdgeColorType | /// Edge color style used for slice rendering. /// |
return | System |
public PieSlice ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight, float startAngle, float sweepAngle, Color surfaceColor, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. /// |
widthBoundingRect | float | /// Width of the rectangle that is used to draw the top surface of /// the pie slice. /// |
heightBoundingRect | float | /// Height of the rectangle that is used to draw the top surface of /// the pie slice. /// |
sliceHeight | float | /// Height of the pie slice. /// |
startAngle | float | /// Starting angle (in degrees) of the pie slice. /// |
sweepAngle | float | /// Sweep angle (in degrees) of the pie slice. /// |
surfaceColor | Color | /// Color used to render pie slice surface. /// |
shadowStyle | ShadowStyle | /// Shadow style used in rendering. /// |
edgeColorType | EdgeColorType | /// Edge color type used for rendering. /// |
edgeLineWidth | float | /// Edge line width. /// |
return | System |
protected TransformAngle ( float angle ) : float | ||
angle | float | /// Actual angle. /// |
return | float |
protected RectangleF,System.Drawing m_boundingRectangle | ||
return |
protected Brush,System.Drawing m_brushEndSide | ||
return |
protected Brush,System.Drawing m_brushPeripherySurface | ||
return |
protected Brush,System.Drawing m_brushStartSide | ||
return |
protected Brush,System.Drawing m_brushSurface | ||
return |
protected Brush,System.Drawing m_brushSurfaceHighlighted | ||
return |
protected PointF,System.Drawing m_center | ||
return |
protected PointF,System.Drawing m_centerBelow | ||
return |
protected Quadrilateral,System.Drawing m_endSide | ||
return |
protected PointF,System.Drawing m_pointEnd | ||
return |
protected PointF,System.Drawing m_pointEndBelow | ||
return |
protected PointF,System.Drawing m_pointStart | ||
return |
protected PointF,System.Drawing m_pointStartBelow | ||
return |
protected Quadrilateral,System.Drawing m_startSide | ||
return |