phaser - v4.0.0-rc.4
    Preparing search index...

    A Text Word Wrap configuration object as used by the Text Style configuration.

    type TextWordWrap = {
        callback?: TextStyleWordWrapCallback;
        callbackScope?: any;
        useAdvancedWrap?: boolean;
        width?: number;
    }
    Index

    Properties

    Provide a custom callback when word wrapping is enabled.

    callbackScope?: any

    The context in which the word wrap callback is invoked.

    useAdvancedWrap?: boolean

    Use basic or advanced word wrapping?

    width?: number

    The width at which text should be considered for word-wrapping.