Game::Pixel
Inherits Game::Shape < Reference < Object
Constructors
new(x : Float32 | Int32, y : Float32 | Int32, color = nil, filled = Shape::FILLED)
SourceInstance methods
draw_filled(parent_x = 0, parent_y = 0)
Sourcedraw_outlined(parent_x = 0, parent_y = 0)
Sourceheight
Sourcewidth
Sourcex=(x : Int32 | Float32)
Sourcey=(y : Int32 | Float32)
Source