Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TextLabel

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns TextLabel

Properties

Private Readonly linesSizes

linesSizes: [string, Point][]

Private Readonly size

size: Point

Methods

getCenter

  • getCenter(): LatLng
  • Returns LatLng

getSize

  • getSize(): Point
  • Returns Point

render

  • render(ctx: CanvasRenderingContext2D, centeredAt: Point): void
  • Parameters

    • ctx: CanvasRenderingContext2D
    • centeredAt: Point

    Returns void

Private renderLines

  • renderLines(linesSizes: [string, Point][], ctx: CanvasRenderingContext2D, centeredAt: Point): void
  • Parameters

    • linesSizes: [string, Point][]
    • ctx: CanvasRenderingContext2D
    • centeredAt: Point

    Returns void

Generated using TypeDoc