class

GSDL::Pixel

Inherits GSDL::Shape < GSDL::Centerable < GSDL::Tweenable < Reference < Object

Constructors

new(x : Num = 0, y : Num = 0, color : Color = Color::White, z_index : Int32 = 0)
Source
new(point : Tuple(Num, Num), color : Color = Color::White, z_index : Int32 = 0)
Source

Instance methods

height
Source
perform_draw(draw : Draw)
Source
to_point
Source
update_geometry

needs to be called at the end of initialization, and in every #draw method (only if #changed?)

Source
width
Source