[]
This structure represents radiuses of rectangle's corners in percents.
[TypeConverter(typeof())]
public struct CornersRadius
| Name | Description |
|---|---|
| CornersRadius(float?) | Creates new structure initialized with specified values. |
| CornersRadius(float?, float?, float?, float?, float?) | Creates new structure initialized with specified values. |
| Name | Description |
|---|---|
| BottomLeft | Radius of the bottom left corner |
| BottomRight | Radius of the bottom right corner |
| Default | Default corner radius, if radius of a specified corner doesn't set, this value will be used instead. |
| TopLeft | Radius of the top left corner |
| TopRight | Radius of the top right corner |
| Name | Description |
|---|---|
| implicit operator CornersRadius(int) | Convert int to new corner type. |
| implicit operator CornersRadius(float) | Convert float to new corner type. |
| operator *(CornersRadius, float) | Implements the *. |
| operator *(float, CornersRadius) | Implements the *. |