SliderSnapRange
Public Struct
Public Method
Public Method
Public Property
Public Property
Public Property
Public Method
Public Method
Public Method
Public Method
Public Method
Represents a snap range on a slider.
Namespace: Grasshopper.GUI.Base
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public struct SliderSnapRange : IComparable<SliderSnapRange>
The SliderSnapRange type exposes the following members.
Constructors
Name
Description
Public Method
SliderSnapRange(Decimal)
Initializes a new instance of the SliderSnapRange class
Public Method
SliderSnapRange(Decimal, Decimal)
Initializes a new instance of the SliderSnapRange class
Properties
Name
Description
Public Property
IsSingleton
Public Property
Max
Public Property
Min
Methods
Name
Description
Public Method
CanMerge
Public Method
CompareTo
Public Method
DistanceTo
Compute the distance from a value to this snap range.
Public Method
Merge
Public Method
SnapValue
Gets the snapped value of another value.