Game::Ring
Inherits Game::Shape < Reference < Object
Constructors
new(center_x = nil, center_y = nil, outer_radius = nil, x = nil, y = nil, size = nil, inner_radius : Float32 | Int32 = 0, start_angle : Float32 | Int32 = 0, end_angle : Float32 | Int32 = 360, segments : Int32 = 0, 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)
Sourceend_angle
Sourceend_angle=(end_angle : Int32 | Float32)
Sourceheight
Sourceheight=(height)
Sourceinner_radius
Sourceinner_radius=(inner_radius : Int32 | Float32)
Sourceouter_radius
Sourceouter_radius=(outer_radius : Int32 | Float32)
Sourcesegments
Sourcesegments=(segments : Int32)
Sourcestart_angle
Sourcestart_angle=(start_angle : Int32 | Float32)
Sourcewidth
Sourcewidth=(width)
Sourcex=(x)
Sourcey=(y)
Source