Game::Shape
Inherits Reference < Object
Constants
FILLED = true
Constructors
new(color, filled : Bool = FILLED)
SourceInstance methods
color
Sourcecolor=(color : Color)
Sourcedraw(image : Image, parent_x = 0, parent_y = 0)
Sourcedraw(parent_x = 0, parent_y = 0)
Sourcedraw_filled(image : Image, parent_x = 0, parent_y = 0)
Sourcedraw_filled(parent_x = 0, parent_y = 0)
Sourcedraw_outlined(image : Image, parent_x = 0, parent_y = 0)
Sourcedraw_outlined(parent_x = 0, parent_y = 0)
Sourcefilled=(filled : Bool)
Sourcefilled?
Sourceheight
Sourceheight=(_height)
Sourceupdate(_frame_time)
Sourcewidth
Sourcewidth=(_width)
Sourcex=(_x)
Sourcey=(_y)
Source