Glyph class
Constructors
- Glyph(dynamic options)
Properties
- advanceWidth ↔ dynamic
-
getter/setter pair
- components ↔ dynamic
-
getter/setter pair
- endPointIndices ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int
-
getter/setter pair
- instructionLength ↔ dynamic
-
getter/setter pair
- instructions ↔ dynamic
-
getter/setter pair
- isComposite ↔ bool
-
getter/setter pair
- leftSideBearing ↔ dynamic
-
getter/setter pair
- name ↔ dynamic
-
getter/setter pair
- numberOfContours ↔ dynamic
-
getter/setter pair
- path ↔ dynamic
-
getter/setter pair
- points ↔ dynamic
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unicode ↔ dynamic
-
getter/setter pair
- unicodes ↔ dynamic
-
getter/setter pair
- xMax ↔ dynamic
-
getter/setter pair
- xMin ↔ dynamic
-
getter/setter pair
- yMax ↔ dynamic
-
getter/setter pair
- yMin ↔ dynamic
-
getter/setter pair
Methods
-
addUnicode(
dynamic unicode) → dynamic -
bindConstructorValues(
Map< String, dynamic> options) → dynamic -
getBoundingBox(
) → dynamic -
getPath(
dynamic x, dynamic y, dynamic fontSize, dynamic options, dynamic font) → dynamic -
Convert the glyph to a Path we can draw on a drawing context.
@param {number}
x=0
- Horizontal position of the beginning of the text. @param {number}y=0
- Vertical position of the baseline of the text. @param {number}fontSize=72
- Font size in pixels. We scale the glyph units by1 / unitsPerEm * fontSize
. @param {Object=} options - xScale, yScale to stretch the glyph. @param {opentype.Font} if hinting is to be used, the font @return {opentype.Path} -
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