mooball
    Preparing search index...

    Class TeamColors

    The class that defines the colors of a team.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    angle: number

    The angle of stripes rendered inside a player. (in radians)

    angleDeg: number

    The angle of stripes shown inside the player disc object. (in degrees)

    inner: number[]

    Colors of the stripes. (A maximum of 3 stripes are allowed.) For each value in the array; range: -1 <= value < 16777216.

    • This value can be converted into a rgba string via API's Utils.numberToColor function.
    • The special value -1 means transparent color.
    text: number

    Color of the avatar text. Range: -1 <= text < 16777216.

    • This value can be converted into a rgba string via API's Utils.numberToColor function.
    • The special value -1 means transparent color.

    Methods