RelativeScalar Structure
Defines a scalar value that may be defined relative to a containing element.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public struct RelativeScalar : IEquatable<RelativeScalar>
Public Structure RelativeScalar
Implements IEquatable(Of RelativeScalar)
[<SealedAttribute>]
type RelativeScalar =
struct
inherit ValueType
interface IEquatable<RelativeScalar>
end
| Inheritance | Object → ValueType → RelativeScalar |
| Implements | IEquatable(RelativeScalar) |
Constructors
| RelativeScalar(Double, RelativeUnit) | Initializes a new instance of the RelativeScalar struct. |
Properties
| Beginning | The value at the beginning of the range |
| End | The value at the end of the range |
| Middle | The value at the middle of the range |
| Scalar | Gets the scalar. |
| Unit | Gets the unit. |
Methods
| Equals(Object) | (Overrides ValueType.Equals(Object)) |
| Equals(RelativeScalar) | |
| GetHashCode() | (Overrides ValueType.GetHashCode()) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| Parse(String) | Parses a RelativeScalar string. |
| ToString() | Returns a String representing this RelativeScalar instance. (Overrides ValueType.ToString()) |
| ToValue(Double) | Converts a RelativeScalar into a final value. |
Operators
| Equality(RelativeScalar, RelativeScalar) | |
| Inequality(RelativeScalar, RelativeScalar) |