Class: SDC::DrawShapeRectangle
- Defined in:
- engine_docs/automatic_doc_DrawShapeRectangle.rb,
engine_docs/automatic_doc_DrawShapeRectangle.rb
Overview
Drawing shape class for a rectangle
Instance Attribute Summary collapse
-
#size ⇒ Coordinates
Size vector of the rectangle.
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 ⇒ DrawShapeRectangle
constructor
Creates an empty rectangle shape.
Methods inherited from DrawShape
Constructor Details
#initialize ⇒ DrawShapeRectangle
Creates an empty rectangle shape
|
# File 'engine_docs/automatic_doc_DrawShapeRectangle.rb', line 9
|
Instance Attribute Details
#size ⇒ Coordinates
Size vector of the rectangle
|
# File 'engine_docs/automatic_doc_DrawShapeRectangle.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_DrawShapeRectangle.rb', line 18
|