Skip to content

SliderSnapRange

Public Struct

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

Initializes a new instance of the SliderSnapRange class


Public Method

Initializes a new instance of the SliderSnapRange class


Properties

Name

Description


Public Property

Public Property

Public Property

Methods

Name

Description


Public Method

Public Method

Public Method

Compute the distance from a value to this snap range.


Public Method

Public Method

Gets the snapped value of another value.