Class RectangularSliderTrackShape | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RectangularSliderTrackShape

    Inheritance
    System.Object
    SliderTrackShape
    RectangularSliderTrackShape
    Namespace: Unity.UIWidgets.material
    Syntax
    public class RectangularSliderTrackShape : SliderTrackShape

    Constructors

    RectangularSliderTrackShape(Single)

    Declaration
    public RectangularSliderTrackShape(float disabledThumbGapWidth = 2F)
    Parameters
    Type Name Description
    System.Single disabledThumbGapWidth

    Fields

    disabledThumbGapWidth

    Declaration
    public readonly float disabledThumbGapWidth
    Field Value
    Type Description
    System.Single

    Methods

    getPreferredRect(RenderBox, Offset, SliderThemeData, Nullable<Boolean>, Nullable<Boolean>)

    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
    Type Description
    Rect
    Overrides
    SliderTrackShape.getPreferredRect(RenderBox, Offset, SliderThemeData, Nullable<Boolean>, Nullable<Boolean>)

    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
    Type Name Description
    PaintingContext context
    Offset offset
    RenderBox parentBox
    SliderThemeData sliderTheme
    Animation<System.Single> enableAnimation
    Offset thumbCenter
    System.Nullable<System.Boolean> isEnabled
    System.Nullable<System.Boolean> isDiscrete
    Overrides
    SliderTrackShape.paint(PaintingContext, Offset, RenderBox, SliderThemeData, Animation<Single>, Offset, Nullable<Boolean>, Nullable<Boolean>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023