class

UIng::Table::Value

Inherits Reference < Object

Constructors

new(r : Number, g : Number, b : Number, a : Number)
Source
new(str : String)

Public constructors for creating new TableValue objects These MUST be freed after use

Source
new(image : Image)
Source
new(i : Int32)
Source
new_color(r : Number, g : Number, b : Number, a : Number) : Value
Source
new_color(color : CrImage::Color::Color) : Value
Source

Instance methods

borrowed?
Source
color
Source
free
Source
image_pointer

Returns the image's borrowed native pointer, or a null pointer for an empty image cell. The image is owned by its creator, not this Value; do not free the pointer or use it after the source image is freed.

Source
string
Source
to_unsafe
Source
type
Source
value

Returns the typed value. For image values, this returns the same borrowed native pointer as #image_pointer.

Source

Nested types