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

    Class RoundSliderOverlayShape

    Inheritance
    System.Object
    SliderComponentShape
    RoundSliderOverlayShape
    Inherited Members
    SliderComponentShape.noThumb
    SliderComponentShape.noOverlay
    Namespace: Unity.UIWidgets.material
    Syntax
    public class RoundSliderOverlayShape : SliderComponentShape

    Constructors

    RoundSliderOverlayShape(Single)

    Declaration
    public RoundSliderOverlayShape(float overlayRadius = 16F)
    Parameters
    Type Name Description
    System.Single overlayRadius

    Fields

    overlayRadius

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

    Methods

    getPreferredSize(Nullable<Boolean>, Nullable<Boolean>)

    Declaration
    public override Size getPreferredSize(bool? isEnabled, bool? isDiscrete)
    Parameters
    Type Name Description
    System.Nullable<System.Boolean> isEnabled
    System.Nullable<System.Boolean> isDiscrete
    Returns
    Type Description
    Size
    Overrides
    SliderComponentShape.getPreferredSize(Nullable<Boolean>, Nullable<Boolean>)

    paint(PaintingContext, Offset, Animation<Single>, Animation<Single>, Nullable<Boolean>, TextPainter, RenderBox, SliderThemeData, Nullable<Single>)

    Declaration
    public override void paint(PaintingContext context, Offset center, Animation<float> activationAnimation = null, Animation<float> enableAnimation = null, bool? isDiscrete = default(bool? ), TextPainter labelPainter = null, RenderBox parentBox = null, SliderThemeData sliderTheme = null, float? value = default(float? ))
    Parameters
    Type Name Description
    PaintingContext context
    Offset center
    Animation<System.Single> activationAnimation
    Animation<System.Single> enableAnimation
    System.Nullable<System.Boolean> isDiscrete
    TextPainter labelPainter
    RenderBox parentBox
    SliderThemeData sliderTheme
    System.Nullable<System.Single> value
    Overrides
    SliderComponentShape.paint(PaintingContext, Offset, Animation<Single>, Animation<Single>, Nullable<Boolean>, TextPainter, RenderBox, SliderThemeData, Nullable<Single>)
    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