Options
All
  • Public
  • Public/Protected
  • All
Menu

Define a style used by control to automatically setup properties based on a template. Only support font related properties so far

Hierarchy

  • Style

Implements

Index

Constructors

  • Creates a new style object

    Parameters

    Returns Style

Properties

onChangedObservable: Observable<Style>

BABYLON.Observable raised when the style values are changed

Accessors

  • get fontFamily(): string
  • set fontFamily(value: string): void
  • Gets or sets the font family

    Returns string

  • Gets or sets the font family

    Parameters

    • value: string

    Returns void

  • get fontSize(): string | number
  • set fontSize(value: string | number): void
  • Gets or sets the font size

    Returns string | number

  • Gets or sets the font size

    Parameters

    • value: string | number

    Returns void

  • get fontStyle(): string
  • set fontStyle(value: string): void
  • Gets or sets the font style

    Returns string

  • Gets or sets the font style

    Parameters

    • value: string

    Returns void

  • get fontWeight(): string
  • set fontWeight(value: string): void
  • Gets or sets font weight

    Returns string

  • Gets or sets font weight

    Parameters

    • value: string

    Returns void

Methods

  • dispose(): void
  • Dispose all associated resources

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme