📄 reparc.cs
字号:
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rRadius">Radius of the circle in points (1/72 inch)</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the first side of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the rStartAngle parameter to the second side of the pie section</param>
public RepPie(PenProp penProp, BrushProp brushProp, Double rRadius, Double rStartAngle, Double rSweepAngle)
: this(penProp, brushProp, rRadius * 2.0, rRadius * 2.0, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a pie section with a border line defined by a circle specified by the radius in points (1/72 inch).</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The pie shape represents a portion of a circle that is defined by the parameter <paramref name="rRadius"/>.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="rRadius">Radius of the circle in points (1/72 inch)</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the first side of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the rStartAngle parameter to the second side of the pie section</param>
public RepPie(PenProp penProp, Double rRadius, Double rStartAngle, Double rSweepAngle)
: this(penProp, null, rRadius * 2.0, rRadius * 2.0, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled pie section defined by a circle specified by the radius in points (1/72 inch).</summary>
/// <remarks>
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of a circle that is defined by the parameter <paramref name="rRadius"/>.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rRadius">Radius of the circle in points (1/72 inch)</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the first side of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the rStartAngle parameter to the second side of the pie section</param>
public RepPie(BrushProp brushProp, Double rRadius, Double rStartAngle, Double rSweepAngle)
: this(null, brushProp, rRadius * 2.0, rRadius * 2.0, rStartAngle, rSweepAngle) {
}
}
#endregion
//------------------------------------------------------------------------------------------04.03.2004
#region RepPieMM
//----------------------------------------------------------------------------------------------------
/// <summary>Report Pie Object (metric version)</summary>
public class RepPieMM : RepPie {
//------------------------------------------------------------------------------------------04.03.2004
/// <overloads>
/// <summary>Creates a pie shape defined by an ellipse or a circle and two radial lines (metric version).</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of an ellipse or circle.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// </overloads>
///
/// <summary>Creates a filled pie section with a border line defined by an ellipse specified by the bounding
/// rectangle in millimeters.</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of an ellipse that is defined by the bounding rectangle described by the
/// <paramref name="rWidthMM"/> and <paramref name="rHeightMM"/> parameters.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rWidthMM">Width in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(PenProp penProp, BrushProp brushProp, Double rWidthMM, Double rHeightMM, Double rStartAngle, Double rSweepAngle)
: base(penProp, brushProp, RT.rPointFromMM(rWidthMM), RT.rPointFromMM(rHeightMM), rStartAngle, rSweepAngle)
{}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a pie section with a border line defined by an ellipse specified by the bounding rectangle in millimeters.</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The pie shape represents a portion of an ellipse that is defined by the bounding rectangle described by the
/// <paramref name="rWidthMM"/> and <paramref name="rHeightMM"/> parameters.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="rWidthMM">Width in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(PenProp penProp, Double rWidthMM, Double rHeightMM, Double rStartAngle, Double rSweepAngle)
: this(penProp, null, rWidthMM, rHeightMM, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled pie section defined by an ellipse specified by the bounding rectangle in millimeters.</summary>
/// <remarks>
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of an ellipse that is defined by the bounding rectangle described by the
/// <paramref name="rWidthMM"/> and <paramref name="rHeightMM"/> parameters.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rWidthMM">Width in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(BrushProp brushProp, Double rWidthMM, Double rHeightMM, Double rStartAngle, Double rSweepAngle)
: this(null, brushProp, rWidthMM, rHeightMM, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled pie section with a border line defined by a circle specified by the radius in millimeters.</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of an ellipse that is defined by the parameter <paramref name="rRadiusMM"/>.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rRadiusMM">Radius of the circle in millimeters</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(PenProp penProp, BrushProp brushProp, Double rRadiusMM, Double rStartAngle, Double rSweepAngle)
: this(penProp, brushProp, rRadiusMM * 2.0, rRadiusMM * 2.0, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a pie section with a border line defined by a circle specified by the radius in millimeters.</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The pie shape represents a portion of an ellipse that is defined by the parameter <paramref name="rRadiusMM"/>.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="rRadiusMM">Radius of the circle in millimeters</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(PenProp penProp, Double rRadiusMM, Double rStartAngle, Double rSweepAngle)
: this(penProp, null, rRadiusMM * 2.0, rRadiusMM * 2.0, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled pie section defined by a circle specified by the radius in millimeters.</summary>
/// <remarks>
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The pie shape represents a portion of an ellipse that is defined by the parameter <paramref name="rRadiusMM"/>.
/// The parameters <paramref name="rStartAngle"/> and <paramref name="rSweepAngle"/> define the start and
/// end point of the radial lines.
/// </remarks>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rRadiusMM">Radius of the circle in millimeters</param>
/// <param name="rStartAngle">Angle in degrees measured clockwise from the x-axis to the start position of the pie section</param>
/// <param name="rSweepAngle">Angle in degrees measured clockwise from the <paramref name="rStartAngle"/> parameter to
/// the end point of the pie section</param>
public RepPieMM(BrushProp brushProp, Double rRadiusMM, Double rStartAngle, Double rSweepAngle)
: this(null, brushProp, rRadiusMM * 2.0, rRadiusMM * 2.0, rStartAngle, rSweepAngle) {
}
}
#endregion
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -