Game::Ellipse
Inherits Game::Shape < Reference < Object
Constructors
new(center_x = nil, center_y = nil, horizontal_radius = nil, vertical_radius = nil, x = nil, y = nil, width = nil, height = nil, color = nil, filled = Shape::FILLED)
SourceInstance methods
center_x
Sourcecenter_x=(center_x : Int32 | Float32)
Sourcecenter_y
Sourcecenter_y=(center_y : Int32 | Float32)
Sourcedraw_filled(parent_x = 0, parent_y = 0)
Sourcedraw_outlined(parent_x = 0, parent_y = 0)
Sourceheight
Sourceheight=(height)
Sourcehorizontal_radius
Sourcehorizontal_radius=(horizontal_radius : Int32 | Float32)
Sourcevertical_radius
Sourcevertical_radius=(vertical_radius : Int32 | Float32)
Sourcewidth
Sourcewidth=(width)
Sourcex=(x)
Sourcey=(y)
Source