Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Adds an alternative version of this surface, typically used for high dpi representations of cursors or icons. This call adds a reference to the image so you should call image.destroy() after this method returns.
Adds an alternative version of this surface, typically used for high dpi representations of cursors or icons. This call adds a reference to the image so you should call image.destroy() after this method returns.
Value parameters
- image
-
alternative version of this surface, does not need to be the same format, size, or have the same content as this surface.
Attributes
'Blit' a surface onto this one. Blitting is like taking a picture and putting it on top of another one.
'Blit' a surface onto this one. Blitting is like taking a picture and putting it on top of another one.
Attributes
Converts a color to the raw value, depending on the surface's format.
Converts a color to the raw value, depending on the surface's format.
Type parameters
- T
-
the type used to represent each channel of the color, if it is an integer type, then the value must be between 0 and 255, and if it is a floating-point type (or is fractional), then the value must be in the range 0..=1
Value parameters
- color
-
the color to be converted
Attributes
- Returns
-
the raw color value
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any