XcfTextFont class final

A font reference retaining modern resource identifiers and unknown fields.

Constructors

XcfTextFont.fromSource(String source)
Parses an existing legacy description or modern GimpFont resource.
XcfTextFont.named(String name, {bool modern = true})
Creates a font reference by name; modern resources require XCF 19+.
factory

Properties

family → String?
Font family without resolving installed fonts.
no setter
fullName → String?
Exact full name, family, style and PostScript identifier when present.
no setter
hash → String?
GIMP's font hash used for resource matching.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int?
Face index within a font collection.
no setter
isModern → bool
Whether the resource uses the GIMP 3 structured font representation.
no setter
name → String?
Legacy description or modern full font name.
no setter
postScriptName → String?
PostScript font identifier.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slant → int?
Fontconfig slant value.
no setter
source → String
Complete (font ...) configuration field, without resolving the resource.
final
style → String?
Font face style name.
no setter
version → int?
Font revision supplied by the resource.
no setter
weight → int?
Fontconfig weight, slant and width values, not CSS values.
no setter
width → int?
Fontconfig width value.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited