📄 reparc.cs
字号:
/// <summary>Creates a filled ellipse with a border line specified by the bounding rectangle in points (1/72 inch).</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The ellipse is defined by the bounding rectangle described by the <paramref name="rWidth"/> and
/// <paramref name="rHeight"/> parameters.
/// </remarks>
/// <param name="penProp">Pen properties of the border line</param>
/// <param name="rWidth">Width in points (1/72 inch) of the bounding rectangle that defines the ellipse</param>
/// <param name="rHeight">Height in points (1/72 inch) of the bounding rectangle that defines the ellipse</param>
public RepEllipse(PenProp penProp, Double rWidth, Double rHeight)
: this(penProp, null, rWidth, rHeight) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled ellipse specified by the bounding rectangle in points (1/72 inch).</summary>
/// <remarks>
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The ellipse is defined by the bounding rectangle described by the <paramref name="rWidth"/> and
/// <paramref name="rHeight"/> parameters.
/// </remarks>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rWidth">Width in points (1/72 inch) of the bounding rectangle that defines the ellipse</param>
/// <param name="rHeight">Height in points (1/72 inch) of the bounding rectangle that defines the ellipse</param>
public RepEllipse(BrushProp brushProp, Double rWidth, Double rHeight)
: this(null, brushProp, rWidth, rHeight) {
}
}
#endregion
//------------------------------------------------------------------------------------------04.03.2004
#region RepEllipseMM
//----------------------------------------------------------------------------------------------------
/// <summary>Report Ellipse Object (metric version)</summary>
/// <remarks>
/// This object draws an ellipse that may have a border line and/or may be filled.
/// </remarks>
public class RepEllipseMM : RepEllipse {
//------------------------------------------------------------------------------------------04.03.2004
/// <overloads>
/// <summary>Creates an ellipse (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 ellipse is defined by the bounding rectangle described by the <paramref name="rWidthMM"/> and
/// <paramref name="rHeightMM"/> parameters.
/// </remarks>
/// </overloads>
///
/// <summary>Creates a filled ellipse with a border line 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 ellipse is defined by the bounding rectangle described by the <paramref name="rWidthMM"/> and
/// <paramref name="rHeightMM"/> parameters.
/// </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</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse</param>
public RepEllipseMM(PenProp penProp, BrushProp brushProp, Double rWidthMM, Double rHeightMM)
: base(penProp, brushProp, RT.rPointFromMM(rWidthMM), RT.rPointFromMM(rHeightMM)) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates an ellipse with a border line specified by the bounding rectangle in millimeters.</summary>
/// <remarks>
/// The pen properties object <paramref name="penProp"/> determines the characteristics of the border line.
/// The ellipse is defined by the bounding rectangle described by the <paramref name="rWidthMM"/> and
/// <paramref name="rHeightMM"/> parameters.
/// </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</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse</param>
public RepEllipseMM(PenProp penProp, Double rWidthMM, Double rHeightMM)
: this(penProp, null, rWidthMM, rHeightMM) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled ellipse specified by the bounding rectangle in millimeters.</summary>
/// <remarks>
/// The brush properties object <paramref name="brushProp"/> determines the characteristics of the fill.
/// The ellipse is defined by the bounding rectangle described by the <paramref name="rWidthMM"/> and
/// <paramref name="rHeightMM"/> parameters.
/// </remarks>
/// <param name="brushProp">Brush properties of the fill</param>
/// <param name="rWidthMM">Width in millimeters of the bounding rectangle that defines the ellipse</param>
/// <param name="rHeightMM">Height in millimeters of the bounding rectangle that defines the ellipse</param>
public RepEllipseMM(BrushProp brushProp, Double rWidthMM, Double rHeightMM)
: this(null, brushProp, rWidthMM, rHeightMM) {
}
}
#endregion
//------------------------------------------------------------------------------------------04.03.2004
#region RepPie
//----------------------------------------------------------------------------------------------------
/// <summary>Report Pie Object</summary>
/// <remarks>
/// This object draws a pie shape defined by an ellipse or a circle and two radial lines.
/// </remarks>
public class RepPie : RepArcBase {
//------------------------------------------------------------------------------------------04.03.2004
/// <overloads>
/// <summary>Creates a pie shape defined by an ellipse or a circle and two radial lines.</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 points (1/72 inch).</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="rWidth"/> and <paramref name="rHeight"/> 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="rWidth">Width in points (1/72 inch) of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeight">Height in points (1/72 inch) 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 RepPie(PenProp penProp, BrushProp brushProp, Double rWidth, Double rHeight, Double rStartAngle, Double rSweepAngle)
: base(penProp, brushProp, rWidth, rHeight, rStartAngle, rSweepAngle)
{}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a pie section with a border line defined by an ellipse specified by the bounding
/// rectangle 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 an ellipse that is defined by the bounding rectangle described by the
/// <paramref name="rWidth"/> and <paramref name="rHeight"/> 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="rWidth">Width in points (1/72 inch) of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeight">Height in points (1/72 inch) 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 RepPie(PenProp penProp, Double rWidth, Double rHeight, Double rStartAngle, Double rSweepAngle)
: this(penProp, null, rWidth, rHeight, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled pie section defined by an ellipse specified by the bounding rectangle 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 an ellipse that is defined by the bounding rectangle described by the
/// <paramref name="rWidth"/> and <paramref name="rHeight"/> 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="rWidth">Width in points (1/72 inch) of the bounding rectangle that defines the ellipse from which the pie section comes</param>
/// <param name="rHeight">Height in points (1/72 inch) 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 RepPie(BrushProp brushProp, Double rWidth, Double rHeight, Double rStartAngle, Double rSweepAngle)
: this(null, brushProp, rWidth, rHeight, rStartAngle, rSweepAngle) {
}
//------------------------------------------------------------------------------------------04.03.2004
/// <summary>Creates a filled 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 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"/>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -