Represents border radius for a corner in a box.
Namespace: Spotfire.Dxp.Framework.Styles
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(15, 0)] public struct BorderRadius : IEquatable<BorderRadius>
The BorderRadius type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BorderRadius(Int32) |
Initializes a new instance of the BorderRadius struct. X and Y radius are the same.
| |
| BorderRadius(Int32, Int32) |
Initializes a new instance of the BorderRadius struct.
|
Properties
| Name | Description | |
|---|---|---|
| X |
Gets the X radius.
| |
| Y |
Gets the Y radius.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString.) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Compares two BorderRadius structures for equality.
| |
| Inequality |
Compares two BorderRadius structures for inequality.
|
Fields
| Name | Description | |
|---|---|---|
| Zero |
The zero border radius, that is, a corner that is not rounded at all.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEquatableBorderRadiusEquals |
Indicates whether the current object is equal to another object of the same type.
|
Version Information
See Also