Skip to content

fontgate.fgGuide

fgGuide

Guide representation

Constructors: fgGuide() - default fgGuide(fgGuide) - copy fgGuide(float pos[, bool horizontal = false]) fgGuide(fgPoint p0, fgPoint p1[, name=''[, horizonta=false[, color=fgColor]]])

Native bases: object

Captured native MRO: fgGuide, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Supplemental documentation: A guide. The captured declaration exposes the attributes color, horizontal, index, name, p0, p1, position and vertical, and the method copy. It is created as fgGuide(), as a copy fgGuide(fgGuide), as fgGuide(float pos[, bool horizontal = false]) or as fgGuide(fgPoint p0, fgPoint p1[, name=''[, horizonta=false[, color=fgColor]]]).

Source: generated/fontgate.py: fgGuide captured declaration

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
color attribute Any
copy function (self) -> fgGuide FgGuide copy() - copy object
horizontal attribute Any True if guide is horizontal
index attribute Any (int) index in owner guides list
name attribute Any (string) guide name
p0 attribute Any
p1 attribute Any
position attribute Any (int) y value of p0, p1 if guide is horizontal, x value - if vertical, none if guide nor horizontal/vertical
vertical attribute Any True if guide is vertical