Class: SDC::DrawShapeCircle

Inherits:
DrawShape show all
Defined in:
engine_docs/automatic_doc_DrawShapeCircle.rb,
engine_docs/automatic_doc_DrawShapeCircle.rb

Overview

Drawing shape class for a circle

Instance Attribute Summary collapse

Attributes inherited from DrawShape

#fill_color, #origin, #outline_color, #outline_thickness, #position, #rotation, #scale, #texture_rect

Instance Method Summary collapse

Methods inherited from DrawShape

#link_texture

Constructor Details

#initializeDrawShapeCircle

Creates an empty circle shape



# File 'engine_docs/automatic_doc_DrawShapeCircle.rb', line 9

Instance Attribute Details

#radiusFloat

Radius of the circle

Returns:

  • (Float)


# File 'engine_docs/automatic_doc_DrawShapeCircle.rb', line 14

Instance Method Details

#get_from(collision_shape) ⇒ nil

Copies properties from the given shape to this shape

Parameters:

  • collision_shape

    CollisionShapeCircle

Returns:

  • (nil)


# File 'engine_docs/automatic_doc_DrawShapeCircle.rb', line 18