RaylibColorExtensionBase<R extends RaylibBase, ColorStructType> class abstract

Provides Raylib's predefined color constants as typed ColorStructType instances, and exposes color utility functions as module-level calls.

Inheritance
Implementers

Constructors

RaylibColorExtensionBase(R rl)

Properties

BEIGE → ColorStructType
no setter
BLACK → ColorStructType
no setter
BLANK → ColorStructType
no setter
BLUE → ColorStructType
no setter
BROWN → ColorStructType
no setter
DARKBLUE → ColorStructType
no setter
DARKBROWN → ColorStructType
no setter
DARKGRAY → ColorStructType
no setter
DARKGREEN → ColorStructType
no setter
DARKPURPLE → ColorStructType
no setter
GOLD → ColorStructType
no setter
GRAY → ColorStructType
no setter
GREEN → ColorStructType
no setter
hashCode int
The hash code for this object.
no setterinherited
LIGHTGRAY → ColorStructType
no setter
LIME → ColorStructType
no setter
MAGENTA → ColorStructType
no setter
MAROON → ColorStructType
no setter
ORANGE → ColorStructType
no setter
PINK → ColorStructType
no setter
PURPLE → ColorStructType
no setter
RAYWHITE → ColorStructType
no setter
RED → ColorStructType
no setter
rl → R
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SKYBLUE → ColorStructType
no setter
TRANSPARENT → ColorStructType
no setter
VIOLET → ColorStructType
no setter
WHITE → ColorStructType
no setter
YELLOW → ColorStructType
no setter

Methods

debug(bool v) → void
Enables or disables debug logging for this module.
inherited
debugError(String message) → void
Logs message at error level if debug is enabled and message passes all filters.
inherited
debugFilter(bool filter(String)) → void
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
debugInfo(String message) → void
Logs message at info level if debug is enabled and message passes all filters.
inherited
debugTime(bool v) → void
Enables or disables per-call timing output alongside debug logs.
inherited
debugWarn(String message) → void
Logs message at warn level if debug is enabled and message passes all filters.
inherited
disableSync<T>(T f()) → T
Executes f with RaylibTempBase syncing temporarily disabled, restoring the previous sync state afterward.
inherited
dispose() → void
Calls all registered onDispose callbacks and clears them.
inherited
doLoad() → void
Ensures load is called exactly once, regardless of how many times doLoad is invoked.
inherited
load() → void
Override to perform one-time module initialization. Called by doLoad.
inherited
logError(Object? message) → void
inherited
logInfo(Object? message) → void
inherited
logWarn(Object? message) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void fn()) → void
Registers fn to be called when this module is disposed.
inherited
run<T>(String name(), T f()) → T
Executes f, logging its label (and optionally timing it) when debug is enabled and the label passes all filters.
inherited
toString() String
A string representation of this object.
inherited

Operators

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