Documentation
    Preparing search index...

    Hierarchy

    • CanvasLabel
      • CanvasLabel

    Indexable

    • [key: symbol]: (value: any) => void
    Index

    Constructors

    • Returns CanvasLabel

    Properties

    cached: boolean
    density: number
    drawFrameRate: boolean
    fontFamily: string
    fontSize: number
    fontStyle: FontStyleType
    fontWeight: FontWeightType
    hardwareAccelerated: boolean
    letterSpacing: number
    lineHeight: number
    mText: any
    shapes: ObservableArray<Shape>
    textAlignment: never
    textDecoration: TextDecorationType
    textTransform: TextTransformType
    verticalTextAlignment: "middle"
    whiteSpace: WhiteSpaceType

    Accessors

    • get text(): any

      Returns any

    • set text(value: any): void

      Parameters

      • value: any

      Returns void

    Methods

    • Parameters

      • name: string
      • value: any[]

      Returns void

    • Parameters

      • name: string
      • value: any

      Returns void

    • Adds the view to children array.

      Parameters

      • child: View

      Returns void

    • Parameters

      • shape: Shape

      Returns any

    • Returns Span

    • Returns void

    • Inserts the view to children array at the specified index.

      Parameters

      • child: View
      • atIndex: number

        The insertion index.

      Returns boolean

    • Parameters

      • shape: Shape
      • atIndex: number

      Returns any

    • Returns any

    • Parameters

      • canvas: Canvas

      Returns any

    • Parameters

      • w: any
      • h: any
      • oldw: any
      • oldh: any

      Returns void

    • Returns any

    • Removes the specified view from the children array.

      Parameters

      • view: any

        The view to remove from the children array.

      Returns void

    • Parameters

      • shape: Shape

      Returns any