Inheritance
System.Object
RectangularSliderTrackShape
public class RectangularSliderTrackShape : SliderTrackShape
Constructors
Declaration
public RectangularSliderTrackShape(float disabledThumbGapWidth = 2F)
Parameters
Type |
Name |
Description |
System.Single |
disabledThumbGapWidth |
|
Fields
Declaration
public readonly float disabledThumbGapWidth
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public override Rect getPreferredRect(RenderBox parentBox = null, Offset offset = null, SliderThemeData sliderTheme = null, bool? isEnabled = default(bool? ), bool? isDiscrete = default(bool? ))
Parameters
Type |
Name |
Description |
RenderBox |
parentBox |
|
Offset |
offset |
|
SliderThemeData |
sliderTheme |
|
System.Nullable<System.Boolean> |
isEnabled |
|
System.Nullable<System.Boolean> |
isDiscrete |
|
Returns
Overrides
paint(PaintingContext, Offset, RenderBox, SliderThemeData, Animation<Single>, Offset, Nullable<Boolean>, Nullable<Boolean>)
Declaration
public override void paint(PaintingContext context, Offset offset, RenderBox parentBox = null, SliderThemeData sliderTheme = null, Animation<float> enableAnimation = null, Offset thumbCenter = null, bool? isEnabled = default(bool? ), bool? isDiscrete = default(bool? ))
Parameters
Overrides