Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility functions for working with ILength objects.

Index

Functions

getLengthAsCssPixels

  • getLengthAsCssPixels(length: ILength, fullLength: number): number
  • Convert a ILength object into CSS pixels.

    Parameters

    • length: ILength

      The length object to convert.

    • fullLength: number

      The full length in CSS pixels to use if length object contains a relative length.

    Returns number

Generated using TypeDoc