GraphicsPath.GetBounds
Contents
[
Hide
]GetBounds()
Returns a rectangle that bounds this GraphicsPath.
public RectangleF GetBounds()
Return Value
A RectangleF that represents a rectangle that bounds this GraphicsPath.
See Also
- struct RectangleF
- class GraphicsPath
- namespace System.Drawing.Drawing2D
- assembly Aspose.Drawing
GetBounds(Matrix)
Returns a rectangle that bounds this GraphicsPath when this path is transformed by the specified Matrix.
public RectangleF GetBounds(Matrix matrix)
Parameter | Type | Description |
---|---|---|
matrix | Matrix | The Matrix that specifies a transformation to be applied to this path before the bounding rectangle is calculated. This path is not permanently transformed; the transformation is used only during the process of calculating the bounding rectangle. |
Return Value
A RectangleF that represents a rectangle that bounds this GraphicsPath.
See Also
- struct RectangleF
- class Matrix
- class GraphicsPath
- namespace System.Drawing.Drawing2D
- assembly Aspose.Drawing
GetBounds(Matrix, Pen)
Returns a rectangle that bounds this GraphicsPath when the current path is transformed by the specified Matrix and drawn with the specified Pen.
public RectangleF GetBounds(Matrix matrix, Pen pen)
Parameter | Type | Description |
---|---|---|
matrix | Matrix | The Matrix that specifies a transformation to be applied to this path before the bounding rectangle is calculated. This path is not permanently transformed; the transformation is used only during the process of calculating the bounding rectangle. |
pen | Pen | The Pen with which to draw the GraphicsPath. |
Return Value
A RectangleF that represents a rectangle that bounds this GraphicsPath.
See Also
- struct RectangleF
- class Matrix
- class Pen
- class GraphicsPath
- namespace System.Drawing.Drawing2D
- assembly Aspose.Drawing