Skip to content

# `flAxis`

## fontlab.flAxis = class flAxis(object)

      flAxis representation

      Constructors:
        flAxis() - default
        flAxis(string name)
        flAxis(string name, string tag, string short_name)

#### Methods

__delattr__(...)

      x.__delattr__('name') <==> del x.name

__getattribute__(...)

      x.__getattribute__('name') <==> x.name

__init__(...)

      x.__init__(...) initializes x; see help(type(x)) for signature

__repr__(...)

      x.__repr__() <==> repr(x)

__setattr__(...)

      x.__setattr__('name', value) <==> x.name = value

checkValue(...)

      double checkValue(double v)

getRange(...)

      double getRange()

instanceIndex(...)

      int instanceIndex(double v)

instances2map(...)

      bool instances2map()

instances2string(...)

      string instances2string()

map2instances(...)

      bool map2instances()

mappedValue(...)

      double mappedValue(double v)

normalize(...)

      double normalize(double userValue)

onEdge(...)

      bool onEdge(double v)

string2instances(...)

      bool string2instances(string s)

styleName(...)

      string styleName(double v)

styleValue(...)

      double styleValue(string style_name)

updateInstances(...)

      void updateInstances()

updateShortName(...)

      void updateShortName()

updateTag(...)

      void updateTag()

#### Static methods

isWeight(...)

      bool isWeight(string s)

isWidth(...)

      bool isWidth(string s)

locationName(...)

      QString locationName(QList axes, flLocation location)

valueWeight(...)

      double valueWeight(flLocation location, double value)

valueWidth(...)

      double valueWidth(flLocation location, double value)

#### Descriptors

default

      double

designDef

      double

designMax

      double

designMin

      double

hidden

      bool

map

      QMap

maximum

      double

minimal

      double

name

      string

playRange

      (double, double)

shortName

      string

tag

      string

#### Attributes

__new__ = <built-in method __new__ of type object>

      T.__new__(S, ...) -> a new object with type S, a subtype of T

## `checkValue`

fontlab.flAxis.checkValue = checkValue(...)

      double checkValue(double v)

## `default`

fontlab.flAxis.default

      double

## `designDef`

fontlab.flAxis.designDef

      double

## `designMax`

fontlab.flAxis.designMax

      double

## `designMin`

fontlab.flAxis.designMin

      double

## `getRange`

fontlab.flAxis.getRange = getRange(...)

      double getRange()

## `hidden`

fontlab.flAxis.hidden

      bool

## `instanceIndex`

fontlab.flAxis.instanceIndex = instanceIndex(...)

      int instanceIndex(double v)

## `instances2map`

fontlab.flAxis.instances2map = instances2map(...)

      bool instances2map()

## `instances2string`

fontlab.flAxis.instances2string = instances2string(...)

      string instances2string()

## `isWeight`

fontlab.flAxis.isWeight = isWeight(...)

      bool isWeight(string s)

## `isWidth`

fontlab.flAxis.isWidth = isWidth(...)

      bool isWidth(string s)

## `locationName`

fontlab.flAxis.locationName = locationName(...)

      QString locationName(QList axes, flLocation location)

## `map`

fontlab.flAxis.map

      QMap

## `map2instances`

fontlab.flAxis.map2instances = map2instances(...)

      bool map2instances()

## `mappedValue`

fontlab.flAxis.mappedValue = mappedValue(...)

      double mappedValue(double v)

## `maximum`

fontlab.flAxis.maximum

      double

## `minimal`

fontlab.flAxis.minimal

      double

## `name`

fontlab.flAxis.name

      string

## `normalize`

fontlab.flAxis.normalize = normalize(...)

      double normalize(double userValue)

## `onEdge`

fontlab.flAxis.onEdge = onEdge(...)

      bool onEdge(double v)

## `playRange`

fontlab.flAxis.playRange

      (double, double)

## `shortName`

fontlab.flAxis.shortName

      string

## `string2instances`

fontlab.flAxis.string2instances = string2instances(...)

      bool string2instances(string s)

## `styleName`

fontlab.flAxis.styleName = styleName(...)

      string styleName(double v)

## `styleValue`

fontlab.flAxis.styleValue = styleValue(...)

      double styleValue(string style_name)

## `tag`

fontlab.flAxis.tag

      string

## `updateInstances`

fontlab.flAxis.updateInstances = updateInstances(...)

      void updateInstances()

## `updateShortName`

fontlab.flAxis.updateShortName = updateShortName(...)

      void updateShortName()

## `updateTag`

fontlab.flAxis.updateTag = updateTag(...)

      void updateTag()

## `valueWeight`

fontlab.flAxis.valueWeight = valueWeight(...)

      double valueWeight(flLocation location, double value)

## `valueWidth`

fontlab.flAxis.valueWidth = valueWidth(...)

      double valueWidth(flLocation location, double value)