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) Version: 11.3.999
public struct RelativeScalar : IEquatable<RelativeScalar>
Inheritance
Object    ValueType    RelativeScalar
Implements
IEquatableRelativeScalar

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 ValueTypeEquals(Object))
Equals(RelativeScalar) 
GetHashCode
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse(String) Parses a RelativeScalar string.
ToString Returns a String representing this RelativeScalar instance.
(Overrides ValueTypeToString)
ToValue(Double) Converts a RelativeScalar into a final value.

Operators

See Also