GSDL::Oval
Inherits GSDL::Collidable < GSDL::Shape < GSDL::Centerable < GSDL::Tweenable < Reference < Object
Constructors
new(radius_x : Num = 16, radius_y : Num = 16, rotation : Num = 0)
Sourcenew(x : Num = 0, y : Num = 0, origin = {0_f32, 0_f32}, radius_x : Num = 16, radius_y : Num = 16, scale = {1_f32, 1_f32}, rotation : Num = 0, color : Color = Color::White, z_index : Int32 = 0, draw_mode : GSDL::Shape::DrawMode = GSDL::Shape::DrawMode::Fill, border_thickness : Num = 1, border_color : Color = Color::White)
SourceInstance methods
collision_shape
Sourcefill_indices
Sourcefill_vertices
Sourceoutline_arc_points
Sourceradius_x
radius_x=(value : Num)
Sourceradius_y
radius_y=(value : Num)
Sourcerender_radius_x
Sourcerender_radius_y
Sourceupdate_geometry
needs to be called at the end of initialization, and in every #draw method (only if #changed?)