fakelab
  • Usage
  • Testing FontLab Studio 5 macros
  • Headless FontLab
  • API
    • Naming conventions
    • Modules
      • FL.fake
      • FL.helpers
      • FL.objects
        • FL.objects.Anchor
        • FL.objects.AuditRecord
        • FL.objects.Canvas
        • FL.objects.Component
        • FL.objects.Dialog
        • FL.objects.Encoding
        • FL.objects.EncodingRecord
        • FL.objects.Feature
        • FL.objects.Font
        • FL.objects.FontLab
        • FL.objects.Glyph
        • FL.objects.Guide
        • FL.objects.Hint
        • FL.objects.Image
        • FL.objects.KerningPair
        • FL.objects.Link
        • FL.objects.Matrix
        • FL.objects.NameRecord
        • FL.objects.Node
        • FL.objects.Options
        • FL.objects.Point
        • FL.objects.Rect
        • FL.objects.Replace
        • FL.objects.TTGasp
        • FL.objects.TTH
        • FL.objects.TTHCommand
        • FL.objects.TTHPoint
        • FL.objects.TTHProblem
        • FL.objects.TTInfo
        • FL.objects.TTPoint
        • FL.objects.TTStem
        • FL.objects.TTVdmx
        • FL.objects.TrueTypeTable
        • FL.objects.Uni
        • FL.objects.WeightVector
      • FL.vfb
      • FL.cmdline
      • FL.constants
      • FL.fl_cmd
      • FL.FLdict
fakelab
  • API
  • FL.objects
  • FL.objects.Link
  • FL.objects.Link.Link
  • View page source

FL.objects.Link.Link

class FL.objects.Link.Link(link_or_index1: Link | int | None = None, index2: int | None = None)

Bases: Copyable

Link - class to represent link

__init__(link_or_index1: Link | int | None = None, index2: int | None = None) → None

Methods

ToHint()

Transforms link to Hint (and returns it as a result wrong) using parent as a source of node coordinates.

__init__([link_or_index1, index2])

set_defaults()

Attributes

node1

node1

node2

node2

parent

Link's parent object, Glyph

ToHint() → None

Transforms link to Hint (and returns it as a result wrong) using parent as a source of node coordinates. Parent must exist

property node1: int

node1

Type:

indexes of the nodes that are linked

property node2: int

node2

Type:

indexes of the nodes that are linked

property parent: Glyph | None

Link’s parent object, Glyph

Previous Next

© Copyright 2025, LucasFonts GmbH.

Built with Sphinx using a theme provided by Read the Docs.