class

Game::Pixel

Inherits Game::Shape < Reference < Object

Constructors

new(x : Float32 | Int32, y : Float32 | Int32, color = nil, filled = Shape::FILLED)
Source

Instance methods

draw_filled(parent_x = 0, parent_y = 0)
Source
draw_outlined(parent_x = 0, parent_y = 0)
Source
height
Source
width
Source
x=(x : Int32 | Float32)
Source
y=(y : Int32 | Float32)
Source