Class CupertinoThumbPainter | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class CupertinoThumbPainter

    Inheritance
    Object
    CupertinoThumbPainter
    Namespace: Unity.UIWidgets.cupertino
    Syntax
    public class CupertinoThumbPainter

    Constructors

    CupertinoThumbPainter(Color, Color)

    Declaration
    public CupertinoThumbPainter(Color color = null, Color shadowColor = null)
    Parameters
    Type Name Description
    Color color
    Color shadowColor

    Fields

    _shadowPaint

    Declaration
    public readonly Paint _shadowPaint
    Field Value
    Type Description
    Paint

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    extension

    Declaration
    public const float extension = 7F
    Field Value
    Type Description
    Single

    radius

    Declaration
    public const float radius = 14F
    Field Value
    Type Description
    Single

    shadowColor

    Declaration
    public readonly Color shadowColor
    Field Value
    Type Description
    Color

    Methods

    paint(Canvas, Rect)

    Declaration
    public void paint(Canvas canvas, Rect rect)
    Parameters
    Type Name Description
    Canvas canvas
    Rect rect
    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