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

    Class Typography

    Inheritance
    System.Object
    Diagnosticable
    Typography
    Inherited Members
    Diagnosticable.toStringShort()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Diagnosticable.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class Typography : Diagnosticable

    Constructors

    Typography(TextTheme, TextTheme, TextTheme, TextTheme, TextTheme)

    Declaration
    public Typography(TextTheme black = null, TextTheme white = null, TextTheme englishLike = null, TextTheme dense = null, TextTheme tall = null)
    Parameters
    Type Name Description
    TextTheme black
    TextTheme white
    TextTheme englishLike
    TextTheme dense
    TextTheme tall

    Fields

    black

    Declaration
    public readonly TextTheme black
    Field Value
    Type Description
    TextTheme

    blackCupertino

    Declaration
    public static readonly TextTheme blackCupertino
    Field Value
    Type Description
    TextTheme

    blackMountainView

    Declaration
    public static readonly TextTheme blackMountainView
    Field Value
    Type Description
    TextTheme

    dense

    Declaration
    public readonly TextTheme dense
    Field Value
    Type Description
    TextTheme

    dense2014

    Declaration
    public static readonly TextTheme dense2014
    Field Value
    Type Description
    TextTheme

    dense2018

    Declaration
    public static readonly TextTheme dense2018
    Field Value
    Type Description
    TextTheme

    englishLike

    Declaration
    public readonly TextTheme englishLike
    Field Value
    Type Description
    TextTheme

    englishLike2014

    Declaration
    public static readonly TextTheme englishLike2014
    Field Value
    Type Description
    TextTheme

    englishLike2018

    Declaration
    public static readonly TextTheme englishLike2018
    Field Value
    Type Description
    TextTheme

    tall

    Declaration
    public readonly TextTheme tall
    Field Value
    Type Description
    TextTheme

    tall2014

    Declaration
    public static readonly TextTheme tall2014
    Field Value
    Type Description
    TextTheme

    tall2018

    Declaration
    public static readonly TextTheme tall2018
    Field Value
    Type Description
    TextTheme

    white

    Declaration
    public readonly TextTheme white
    Field Value
    Type Description
    TextTheme

    whiteCupertino

    Declaration
    public static readonly TextTheme whiteCupertino
    Field Value
    Type Description
    TextTheme

    whiteMountainView

    Declaration
    public static readonly TextTheme whiteMountainView
    Field Value
    Type Description
    TextTheme

    Methods

    copyWith(TextTheme, TextTheme, TextTheme, TextTheme, TextTheme)

    Declaration
    public Typography copyWith(TextTheme black = null, TextTheme white = null, TextTheme englishLike = null, TextTheme dense = null, TextTheme tall = null)
    Parameters
    Type Name Description
    TextTheme black
    TextTheme white
    TextTheme englishLike
    TextTheme dense
    TextTheme tall
    Returns
    Type Description
    Typography

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Diagnosticable.debugFillProperties(DiagnosticPropertiesBuilder)

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Equals(Typography)

    Declaration
    public bool Equals(Typography other)
    Parameters
    Type Name Description
    Typography other
    Returns
    Type Description
    System.Boolean

    geometryThemeFor(ScriptCategory)

    Declaration
    public TextTheme geometryThemeFor(ScriptCategory category)
    Parameters
    Type Name Description
    ScriptCategory category
    Returns
    Type Description
    TextTheme

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    lerp(Typography, Typography, Single)

    Declaration
    public static Typography lerp(Typography a, Typography b, float t)
    Parameters
    Type Name Description
    Typography a
    Typography b
    System.Single t
    Returns
    Type Description
    Typography

    Operators

    Equality(Typography, Typography)

    Declaration
    public static bool operator ==(Typography left, Typography right)
    Parameters
    Type Name Description
    Typography left
    Typography right
    Returns
    Type Description
    System.Boolean

    Inequality(Typography, Typography)

    Declaration
    public static bool operator !=(Typography left, Typography right)
    Parameters
    Type Name Description
    Typography left
    Typography right
    Returns
    Type Description
    System.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