Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Style

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

Properties

Accessors

Methods

Constructors

constructor

  • Creates a new style object

    Parameters

    Returns Style

Properties

onChangedObservableSearch playground for onChangedObservable

onChangedObservable: Observable<Style>

BABYLON.Observable raised when the style values are changed

Accessors

fontFamily

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

    Returns string

  • Gets or sets the font family

    Parameters

    • value: string

    Returns any

fontSize

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

    Returns string | number

  • Gets or sets the font size

    Parameters

    • value: string | number

    Returns any

fontStyle

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

    Returns string

  • Gets or sets the font style

    Parameters

    • value: string

    Returns any

fontWeight

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

    Returns string

  • Gets or sets font weight

    Parameters

    • value: string

    Returns any

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Dispose all associated resources

    Returns void

Legend

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