[]
Represents the corners' radii of a rounded rectangle.
public struct CornerRadius
Public Structure CornerRadius
| Name | Description |
|---|---|
| CornerRadius(float) | Initializes a new instance of the CornerRadius structure. |
| CornerRadius(float, float) | Initializes a new instance of the CornerRadius structure. |
| CornerRadius(float, float, float, float, float, float, float, float) | Initializes a new instance of the CornerRadius structure. |
| Name | Description |
|---|---|
| Default | Gets a CornerRadius structure defining a rectangle with square corners. |
| Name | Description |
|---|---|
| All | Gets or sets a single radius value for all corners. Getting this property when different radii have different values returns null. Setting this property to null does not have any effect. |
| AllX | Gets or sets a single X radius value for all corners. Getting this property when different X radii have different values returns null. Setting this property to null does not have any effect. |
| AllY | Gets or sets a single Y radius value for all corners. Getting this property when different Y radii have different values returns null. Setting this property to null does not have any effect. |
| BottomLeftX | Gets or sets the x-radius of the bottom left corner. |
| BottomLeftY | Gets or sets the y-radius of the bottom left corner. |
| BottomRightX | Gets or sets the x-radius of the bottom right corner. |
| BottomRightY | Gets or sets the y-radius of the bottom right corner. |
| RoundBottomLeft | Gets a value indicating whether bottom-left corner is round, i.e. BottomLeftX and BottomLeftY greater than 0. |
| RoundBottomRight | Gets a value indicating whether bottom-right corner is round, i.e. BottomRightX and BottomRightY greater than 0. |
| RoundTopLeft | Gets a value indicating whether top-left corner is round, i.e. TopLeftX and TopLeftY greater than 0. |
| RoundTopRight | Gets a value indicating whether top-right corner is round, i.e. TopRightX and TopRightY greater than 0. |
| TopLeftX | Gets or sets the x-radius of the upper left corner. |
| TopLeftY | Gets or sets the y-radius of the upper left corner. |
| TopRightX | Gets or sets the x-radius of the upper right corner. |
| TopRightY | Gets or sets the y-radius of the upper right corner. |
| Name | Description |
|---|---|
| ToString() |