CornerRadius
Summary
Represents the radii of a rectangle's corners.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
Methods
GetHashCode
Summary
Returns the hash code for this instance.
Signature
1 | |
Return Value
int
Equals (2)
Equals (1 of 2)
Summary
Defines whether the specified object is equal to this instance.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| other | CornerRadius | The other CornerRadius object to compare with this instance. |
Return Value
bool
Equals (2 of 2)
Summary
Defines whether the specified object is equal to this instance.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| obj | object | The object to compare with this instance. |
Return Value
bool
ChangeToZeroIfNegative
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| value | double |
Return Value
double
IsEqual
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| cr1Value | double | |
| cr2Value | double |
Return Value
bool
Properties
TopLeft
Summary
Gets or sets the radius of the top-left corner.
Signature
1 | |
Return Value
double
TopRight
Summary
Gets or sets the radius of the top-right corner.
Signature
1 | |
Return Value
double
BottomRight
Summary
Gets or sets the radius of the bottom-right corner.
Signature
1 | |
Return Value
double
BottomLeft
Summary
Gets or sets the radius of the bottom-left corner.
Signature
1 | |
Return Value
double