Options
All
  • Public
  • Public/Protected
  • All
Menu
param limits

Mixin limits to apply. Can be empty

param defaultMixin

Default mixin to use if no limits given or before the first limit comes into play

Hierarchy

  • MixinLimits

Index

Constructors

Properties

defaultMixin: number
limits: MixinLimit[]

Methods

  • getDefaultMixinByHeight(height: number): number
  • Returns the default mixin for the given height.

    Parameters

    • height: number

    Returns number

  • getMixinLimitsByHeight(height: number): [number, number]
  • Returns the minimum and maximum mixin for the given height.

    Parameters

    • height: number

    Returns [number, number]

Generated using TypeDoc