Class: SDC::DrawShapeCircle
- 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
-
#radius ⇒ Float
Radius of the circle.
Attributes inherited from DrawShape
#fill_color, #origin, #outline_color, #outline_thickness, #position, #rotation, #scale, #texture_rect
Instance Method Summary collapse
-
#get_from(collision_shape) ⇒ nil
Copies properties from the given shape to this shape.
-
#initialize ⇒ DrawShapeCircle
constructor
Creates an empty circle shape.
Methods inherited from DrawShape
Constructor Details
#initialize ⇒ DrawShapeCircle
Creates an empty circle shape
|
# File 'engine_docs/automatic_doc_DrawShapeCircle.rb', line 9
|
Instance Attribute Details
#radius ⇒ Float
Radius of the circle
|
# 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
|
# File 'engine_docs/automatic_doc_DrawShapeCircle.rb', line 18
|