Skip to content

fontlab_glyport.model.proxies.GSLayer · declarations 002

Back to fontlab_glyport.model.proxies.GSLayer

indexOfPath_

indexOfPath_(path)

indexPathOfNode_

indexPathOfNode_(node)

isBraceLayer property

isBraceLayer

isBracketLayer property

isBracketLayer

isMasterLayer property

isMasterLayer: bool

isSpecialLayer property

isSpecialLayer: bool

italicAngle property

italicAngle

layerId property

layerId: str

leftMetricsKey class-attribute instance-attribute

leftMetricsKey

master property

master: GSFontMaster

metricForType_

metricForType_(kind)

GSMetricsType values from the master; types FontLab has no counterpart for (slant, mid, body height) read None.

name property

name: str | None

Preserve auxiliary names, including empty or absent values.

nextKerningForLayer_direction_

nextKerningForLayer_direction_(layer, direction=GSLTR)

Kerning between this layer and the following one: the glyph pair first, then glyph/group, group/glyph and group/group (Glyphs' order); NSNotFound when the pair is not kerned.

nodeAtIndexPath_

nodeAtIndexPath_(index)

parent property

parent

The GSGlyph this layer belongs to.

paths property writable

removeOverlap

removeOverlap(checkSelection=False) -> None

Join closed paths, optionally considering only selected contours.

removeShape_

removeShape_(shape)

rightKerningForLayer_

rightKerningForLayer_(layer)

Glyphs 2 name of nextKerningForLayer_direction_ (LTR).

rightMetricsKey class-attribute instance-attribute

rightMetricsKey

selection property writable

selection: ProxySequence

Nodes, anchors, components and guides in collection order.

selectionBounds property

selectionBounds

shapes property writable

shapes: ProxySequence

slantHeight property

slantHeight

transform_checkForSelection_doComponents_

transform_checkForSelection_doComponents_(transform, selection, components)

updateMetrics

updateMetrics()

vertWidth property

vertWidth: float | None

FontLab's advance height; None when the layer has none set.

width property writable

width: float

widthMetricsKey class-attribute instance-attribute

widthMetricsKey