(alpha-from-argb argb)Gets the alpha component value from an ARGB integer
Gets the alpha component value from an ARGB integer
(blue-from-argb argb)Gets the blue component value from an ARGB integer
Gets the blue component value from an ARGB integer
(context-class-loader)(error & vals)Throws a clisk error with the provided message(s)
Throws a clisk error with the provided message(s)
(expression-info expr)Uses the Clojure compiler to analyze the given s-expr. Returns a map with keys :class and :primitive? indicating what the compiler concluded about the return value of the expression. Returns nil if no type info can be determined at compile-time.
Example: (expression-info '(+ (int 5) (float 10))) Returns: {:class float, :primitive? true}
Uses the Clojure compiler to analyze the given s-expr. Returns
a map with keys :class and :primitive? indicating what the compiler
concluded about the return value of the expression. Returns nil if
no type info can be determined at compile-time.
Example: (expression-info '(+ (int 5) (float 10)))
Returns: {:class float, :primitive? true}(expression-info-internal expr)(green-from-argb argb)Gets the green component value from an ARGB integer
Gets the green component value from an ARGB integer
(load-image resource-name)(new-image w h)(primitive? expression)(red-from-argb argb)Gets the red component value from an ARGB integer
Gets the red component value from an ARGB integer
(static-cast class-sym expression)Performs a static type cast
Performs a static type cast
(typeof expression)(xor)(xor a)(xor a & more)Returns logical xor of values
Returns logical xor of values
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |