class

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)
Source

Instance methods

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