GlyphInfoD class

GlyphInfo, font characters glyphs info

Inheritance

Constructors

GlyphInfoD({StructPointer<GlyphInfoD>? op, int value = 0, int offsetX = 0, int offsetY = 0, int advanceX = 0, ImageD? image})
GlyphInfoD.zero()
factory

Properties

$state → RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
advanceX ↔ int
Character advance position X
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
image ↔ ImageD
Character image data
getter/setter pair
offsetX ↔ int
Character offset X when drawing
getter/setter pair
offsetY ↔ int
Character offset Y when drawing
getter/setter pair
op ↔ StructPointer<GlyphInfoD>?
The C-owned or RaylibTemp-owned typed pointer for this struct, if any.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structIsDisposed → bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName → String
The Dart-side type name of this struct
no setterinherited
value ↔ int
Character value (Unicode)
getter/setter pair

Methods

clone() → GlyphInfoD
Returns a deep copy of this instance, preserving op if present.
override
copy() → GlyphInfoD
Returns a deep copy of this instance without op.
inherited
getOp() → StructPointer<GlyphInfoD>
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOpAndDispose() → StructPointer<GlyphInfoD>
Returns op and immediately disposes this struct.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDart(GlyphInfoD o) → GlyphInfoD
Copies the fields of o into this instance.
override
signature() → String
Returns a human-readable representation of this struct.
override
structAllocateInto(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key) → void
Allocates nested pointers into temp under key as needed.
inherited
structMarkDisposed() → void
Marks this instance as disposed and clears op.
inherited
structOnOp(void callback(StructPointer<GlyphInfoD> p)) → void
Calls callback with op if it is set, otherwise no-ops.
inherited
structReadFrom(MemoryPointer<RType> p) → void
override
structSetTag(String newTag) → GlyphInfoD
Sets RaylibTempStructState.tag to newTag.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires op.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires op.
inherited
structWriteInto(MemoryPointer<RType> p) → void
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

field_advanceX → StructValueField<int, RInt>
Field descriptor for advanceX.
final
field_image → StructValueField<ImageD, RStruct>
Field descriptor for image.
final
field_offsetX → StructValueField<int, RInt>
Field descriptor for offsetX.
final
field_offsetY → StructValueField<int, RInt>
Field descriptor for offsetY.
final
field_value → StructValueField<int, RInt>
Field descriptor for value.
final
struct → StructType<GlyphInfoD>
Describes the raw memory layout, construction, and pointer representation of this struct type.
final
structLayout → StructLayout<GlyphInfoField>
Raw memory layout of this object.
final