|
<< Click to Display Table of Contents >> NShape Reference
|
![]() ![]()
|
Returns the untransformed axis aligned bounding rectangle of the line cap defined by the given styles.
public static Rectangle GetCapBounds(ICapStyle capStyle, ILineStyle lineStyle, float angleDeg) |
|---|
Returns the untransformed axis aligned bounding rectangle of the line cap defined by the given styles.
Name |
Description |
|---|---|
capStyle |
Specifies the parameters for the cap's shape and positioning relative to the line. |
lineStyle |
Defines the cap's outline. |
angleDeg |
Defines the cap's orientation in degrees. |
Exception |
Condition |
|---|---|
ArgumentNullException |
Any of the styles is null. |