Skip to content

fontlab.flPropertyPoint · declarations 001

Back to fontlab.flPropertyPoint

ParameterType instance-attribute

ParameterType: dict

expressionX instance-attribute

expressionX: Any

The formula that computes the x component. For a guideline at the x-height, this might be "xHeight" — so when xHeight changes, the guideline x-position updates automatically.

Source: FontLab Proteus API documentation

expressionY instance-attribute

expressionY: Any

The formula that computes the y component. Works the same way as expressionX.

Source: FontLab Proteus API documentation

hasExpression

hasExpression() -> bool

bool hasExpression()

Returns True if either the x or y component has a non-empty formula string. Use this to check whether a guideline or anchor position is formula-driven before trying to set it to a fixed value — if an expression is active, your fixed value will be overwritten on the next evaluation.

Source: FontLab Proteus API documentation

paramType instance-attribute

paramType: Any

ParameterType

Controls how the point coordinates are interpreted. The available values depend on the context (absolute position, delta from default, angle+length, etc.).

Source: FontLab Proteus API documentation

point instance-attribute

point: Any

QPointF

The current x,y value after the most recent evaluation. Read this to get the result; set to override with a fixed value.

Source: FontLab Proteus API documentation