Description

Applies a style to the text

Usage

Parameters

  • params {Object}

    Styles parameters

    Style: default value

    • size: "20px"
    • family: "Arial"
    • weight: "normal"
    • style: "normal"
    • variant: "normal"
    • color: "#000"
    • transform: "none"
    • decoration: "none"
    • border: "none"
    • lineHeight: 25
    • shadow: null
    • textBaseline: "alphabetic"
    • lineWidth: null

Returns

CanvasEngine.Text

Discussion