From 36bc8f4f729a97557de5380afadfcc508f6609f7 Mon Sep 17 00:00:00 2001 From: FigyTuna Date: Sat, 23 Sep 2017 16:27:45 -0700 Subject: [PATCH] Added documentation for Range --- doc/classes/Range.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/classes/Range.xml b/doc/classes/Range.xml index 9af6abf7b8..cd75c2b658 100644 --- a/doc/classes/Range.xml +++ b/doc/classes/Range.xml @@ -138,29 +138,38 @@ + Binds two Ranges together along with any Ranges previously grouped with either of them. When any of Range's member variables change, it will share the new value with all other Ranges in its group. + Stop Range from sharing its member variables with any other Range. + If [code]true[/code] and [code]min_value[/code] is greater than 0, [code]value[/code] will be represented exponentially rather than linearly. + Maximum value. Range is clamped if [code]value[/code] is greater than [code]max_value[/code]. Default value: 100. + Minimum value. Range is clamped if [code]value[/code] is less than [code]min_value[/code]. Default value: 0. + Page size. Used mainly for [ScrollBar]. ScrollBar's length is its size multiplied by [code]page[/code] over the difference between [code]min_value[/code] and [code]max_value[/code]. + If [code]true[/code], [code]value[/code] will always be rounded to the nearest integer. + If greater than 0, [code]value[/code] will always be rounded to a multiple of [code]step[/code]. If [code]rounded[/code] is also [code]true[/code], [code]value[/code] will first be rounded to a multiple of [code]step[/code] then rounded to the nearest integer. + Range's current value.