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

    Class SliderTickMarkShape

    Inheritance
    System.Object
    SliderTickMarkShape
    RoundSliderTickMarkShape
    Namespace: Unity.UIWidgets.material
    Syntax
    public abstract class SliderTickMarkShape

    Constructors

    SliderTickMarkShape()

    Declaration
    public SliderTickMarkShape()

    Fields

    noTickMark

    Declaration
    public static readonly SliderTickMarkShape noTickMark
    Field Value
    Type Description
    SliderTickMarkShape

    Methods

    getPreferredSize(SliderThemeData, Nullable<Boolean>)

    Declaration
    public abstract Size getPreferredSize(SliderThemeData sliderTheme = null, bool? isEnabled = default(bool? ))
    Parameters
    Type Name Description
    SliderThemeData sliderTheme
    System.Nullable<System.Boolean> isEnabled
    Returns
    Type Description
    Size

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

    Declaration
    public abstract void paint(PaintingContext context, Offset offset, RenderBox parentBox = null, SliderThemeData sliderTheme = null, Animation<float> enableAnimation = null, Offset thumbCenter = null, bool? isEnabled = 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
    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